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. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above

2. What is true about fputs function

  • write to a file
  • takes two parameters
  • requires a file pointer
  • all of above

3. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above

4. total number of keywords in C are

  • 30
  • 32
  • 48
  • 132

5. Which operator has the highest priority

  • ()
  • []
  • *
  • /
Read more from - C Programming Questions Answers - Chapter 1