Question & Additional Information
 
What is the difference between NULL and NUL in C ?
Add to My IQ
 

Answer Title
Answer
NULL is a macro defined in for the null pointer.
NUL is the name of the first character in the ASCII character set. It corresponds to a zero value. There's no standard macro NUL in C, but some people like to define it.
NULL is defined as ( void *)0
Question Tag Title
Tags
Question Asked At Title
Asked At
None
Question Job Title
Job Titles
None


Check out our newest job listings!

Post a Job! $49 for 60 days



Your Name:
Add your comment text
 
Related Questions
Related Questions
Flag this interview question as inappropriate Inappropriate
See Answer
  • To run the count program, which will display the process identification number of the job, enter: count &
  • To check the status of your job, enter: ps
  • To bring a background process to the foreground, enter: fg
  • If you have more than one job suspended in the background, enter: fg %#

    Replace  #  with the job number, as shown in the first column of the output of the jobs command.

  • You can kill a background process by entering: kill PID

    Replace PID with the process ID of the job. If that fails, enter the following:

    kill -KILL PID
  • To determine a job's PID, enter: jobs -l
  • If you are using sh, ksh, bash, or zsh, you may prevent background processes from sending error messages to the terminal. Redirect the output to /dev/null using the following syntax: count 2> /dev/null &
  • Create Date
    :
    Sunday, May 11, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    you use function ptr when you want to call multiple functions using the ptr in a loop.
    like have an array of funtion ptrs, loop through the array and execute the functions.
    Create Date
    :
    Monday, January 21, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    None
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer

    structures can be passed by reference.

    they can be returned as pointers.

    Create Date
    :
    Saturday, March 15, 2008
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    pseudo code is the code written when converting the algorithm/ flow chart to actual code.
    So it is in between the compiled code and flow chart. It is something that is not compiled but can be on
    a notepad.
    Create Date
    :
    Saturday, March 15, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    Methods are for objects functions are regular routines
    Create Date
    :
    Thursday, October 16, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    None
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    Test s for prime or not?


    #include<stdio.h>
    void main(void)
    {
               int no,rem,cnt;
            Printf("enter No");
            scanf("%d",&no);
            cnt=2;
            while(cnt<=no)
           {

                  rem=no % cnt;
                  if (rem==0)
                  {
                  printf("No is not prime");
                  exit(0);
                  }
                  cnt++;
            }
              printf("No is Prime");
    }



    Create Date
    :
    Thursday, October 16, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    None
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
     
    • More Related Questions: