download Mastguru Android App

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. Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above

2. Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -

3. Which of the following below is/are valid C keywords

  • integer
  • int
  • null
  • none of above

4. rand() function returns

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

5. To access the members of structure which symbol is used

  • *
  • -
  • ,
  • .
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • Rajib Roy 8 years ago

    Suorer bacha "printf("%d",x);" ai statement ta run kore "0" output ki tomar nung er bari giye dia sche???????

  • anand 10 years ago

    que no7 in c. how the answer is zero.can you explain