adplus-dvertising
frame-decoration

Question

In which header file is the NULL macro defined?

a.

stdio.h

b.

stddef.h

c.

stdio.h and stddef.h

d.

math.h

Answer: (c).stdio.h and stddef.h

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In which header file is the NULL macro defined?

Similar Questions

Discover Related MCQs

Q. How many bytes are occupied by near, far and huge pointers (DOS)?

Q. If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?

Q. What would be the equivalent pointer expression for referring the array element a[i][j][k][l]

Q. A pointer is

Q. The operator used to get value at address stored in a pointer variable is

Q. Which of the following statements correctly declare a function that receives a pointer to pointer to a pointer to a float and returns a pointer to a pointer to a pointer to a pointer to a float?

Q. Can you combine the following two statements into one?
char *p;
p = (char*) malloc(100);

Q. Which of the following statements correct about k used in the below statement?char ****k;

Q. In C, if you pass an array as an argument to a function, what actually gets passed?

Q. Which of the following statements mentioning the name of the array begins DOES NOT yield the base address?

1: When array name is used with the sizeof operator.
2: When array name is operand of the & operator.
3: When array name is passed to scanf() function.
4: When array name is passed to printf() function.

Q. Which of the following statements are correct about 6 used in the program?
int num[6];num[6]=21;

Q. Which of the following statements are correct about an array?

1:The array int num[26]; can store 26 elements.
2:The expression num[1] designates the very first element in the array.
3:It is necessary to initialize the array at the time of declaration.
4:The declaration num[SIZE] is allowed if SIZE is a macro.

Q. O(N)(linear time) is better than O(1) constant time.

Q. For 'C' programming language

Q. What is the maximun number of dimensions an array in C may have?

Q. If x is an array of interger, then the value of &x[i] is same as

Q. If S is an array of 80 characters, then the value assigned to S through the statement scanf("%s",S) with input 12345 would be

Q. A one dimensional array A has indices 1....75.Each element is a string and takes up three memory words. The array is stored starting at location 1120 decimal. The starting address of A[49] is

Q. Minimum number of interchange needed to convert the array 89,19,40,14,17,12,10,2,5,7,11,6,9,70, into a heap with the maximum element at the root is

Q. Which of the following is an illegal array definition?