Question Detail

rand() function returns

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

1. A variable in c

  • must have a valid datatype
  • can't have a name same as keyword
  • must have a name starting with a character
  • All of above

2. Exit() is same as return

  • TRUE
  • FALSE

3. Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial

4. To access the members of structure which symbol is used

  • *
  • -
  • ,
  • .

5. What is dangling pointer in c

  • if pointer is pointing to a memory location from where variable has been deleted
  • if pointer is assigned to more than one variable
  • if pointer is not defined properly
  • none of above
Read more from - C Programming Questions Answers - Chapter 1