Question Detail

Exit() is same as return

  • TRUE
  • FALSE
Similar Questions :

1. 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

2. Any type of modification on the parameter inside the function will reflect in actual variable value can be related to

  • call by value
  • call by reference
  • both of above
  • none of above

3. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

4. 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

5. What is true about fputs function

  • write to a file
  • takes two parameters
  • requires a file pointer
  • all of above
Read more from - C Programming Questions Answers - Chapter 1