Question Detail

What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value
Similar Questions :

1. What is wild pointer in c

  • a pointer which we need to write in future
  • a pointer which has bad naming convention
  • a pointer which has no limit
  • a point which has not initialized

2. What is prototype of a function in C

  • It is the return type of a function
  • It is the return data of the function
  • It is declaration of a function
  • It is a datatype

3. rand() function returns

  • float value
  • integer value
  • any type
  • none of above

4. Exit() is same as return

  • TRUE
  • FALSE

5. calloc() belongs to which library

  • stdlib.h
  • malloc.h
  • calloc.h
  • None of above
Read more from - C Programming Questions Answers - Chapter 1