download Mastguru Android App

Question Detail

Which operator has the highest priority

  • ()
  • []
  • *
  • /
Similar Questions :

1. Due to variable scope in c

  • Variables created in a function cannot be used another function
  • Variables created in a function can be used in another function
  • Variables created in a function can only be used in the main function
  • None of above

2. Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -

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

4. What is correct order of precedence in C

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

5. Difference between structure and union is

  • We can define functions within structures but not within a union
  • We can define functions within union but not within a structure
  • The way memory is allocated
  • There is no difference
Read more from - C Programming Questions Answers - Chapter 1
Post a comment