Question Detail

What is true about fputs function

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

1. Which operator has the highest priority

  • ()
  • []
  • *
  • /

2. Exit() is same as return

  • TRUE
  • FALSE

3. rand() function returns

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

4. printf() belongs to which library of c

  • stdlib.h
  • stdio.h
  • stdout.h
  • stdoutput.h

5. Due to variable scope in c

  • Variables created in a function cannot be used another function
  • Variables created in a function can be used in another function
  • Variables created in a function can only be used in the main function
  • None of above
Read more from - C Programming Questions Answers - Chapter 1