Question Detail

We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put
Similar Questions :

1. Break statement is used for

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

2. What is correct order of precedence in C

  • Addition, Division, Modulus
  • Addition, Modulus, Division
  • Multiplication, Substration, Modulus
  • Modulus, Multiplication, Substration

3. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above

4. What is true about fputs function

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

5. rand() function returns

  • float value
  • integer value
  • any type
  • none of above
Read more from - C Programming Questions Answers - Chapter 1