download Mastguru Android App

Question Detail

Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial
Similar Questions :

1. The compiler in C ignores all text till the end of line using

  • //
  • /
  • */
  • none of above

2. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

3. If (*p) and **p is same

  • No
  • Yes

4. Continue statement used for

  • To continue to the next line of code
  • To stop the current iteration and begin the next iteration from the beginning
  • To handle run time error
  • None of above

5. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • VIDYA DESHMUKH 8 years ago

    test_name is identifier because _ is also come in valid in identifier then test_name is valid identifier