Question Detail

rand() function returns

  • float value
  • integer value
  • any type
  • none of above
Similar Questions :

1. total number of keywords in C are

  • 30
  • 32
  • 48
  • 132

2. rand() function returns

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

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

4. What is correct order of precedence in C

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

5. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above
Read more from - C Programming Questions Answers - Chapter 1