download Mastguru Android App

Question Detail

What is use of \r in c

  • used to insert a vertical tab
  • used to insert a tab
  • places cursor at the end of line
  • places cursor at the start of line
Similar Questions :

1. rand() function returns

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

2. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

3. Which operator has the highest priority

  • ()
  • []
  • *
  • /

4. If include files can be nested

  • Yes
  • No

5. What among following is true about stack

  • stack cannot reuse its memory
  • all elements are of different datatypes
  • all operation done at one end
  • none of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment