download Mastguru Android App

Question Detail

What is correct order of precedence in C

  • Addition, Division, Modulus
  • Addition, Modulus, Division
  • Multiplication, Substration, Modulus
  • Modulus, Multiplication, Substration
Similar Questions :

1. The compiler in C ignores all text till the end of line using

  • //
  • /
  • */
  • none of above

2. rand() function returns

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

3. Adding to a pointer that points to an array will

  • Cause an error
  • Increase the value of the element that the pointer is pointing to
  • Cause the pointer to point to the next element in the array
  • None of above

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

5. Size of void pointer is

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte
Read more from - C Programming Questions Answers - Chapter 1
Post a comment