download Mastguru Android App

Question Detail

Which operator in c can't be overloaded

  • %
  • +
  • ::
  • -
Similar Questions :

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

2. Out of following program :
float x = 10.7;
int i;

i = (int) x;
print i;

  • null
  • error
  • 10
  • garbage value

3. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

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

5. Which operator has the highest priority

  • ()
  • []
  • *
  • /
Read more from - C Programming Questions Answers - Chapter 1
Post a comment