download Mastguru Android App

Question Detail

rand() function returns

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

1. What is correct order of precedence in C

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

2. Can getch() be used to echo the input

  • Yes
  • No

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. calloc() belongs to which library

  • stdlib.h
  • malloc.h
  • calloc.h
  • 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
Post a comment