Question Detail

Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above
Similar Questions :

1. What among following is true about stack

  • stack cannot reuse its memory
  • all elements are of different datatypes
  • all operation done at one end
  • none of above

2. If include files can be nested

  • Yes
  • No

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

4. rand() function returns

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

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