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. Exit() is same as return

  • TRUE
  • FALSE

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

3. Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial

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

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

5. What is the purpose of getc()

  • read a character from STDIN
  • read a character from a file
  • read all file
  • read file random
Read more from - C Programming Questions Answers - Chapter 1