Question Detail

Which operator in c can't be overloaded

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

1. What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value

2. UML meaning is

  • Unique modeling language
  • Unified modeling language
  • Unified modern language
  • Unified master laqnguage

3. Which is invalid name of identifier

  • world
  • addition23
  • test_name
  • factorial

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

5. 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
Read more from - C Programming Questions Answers - Chapter 1