download Mastguru Android App

Question Detail

Any type of modification on the parameter inside the function will reflect in actual variable value can be related to

  • call by value
  • call by reference
  • both of above
  • none of above
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. Which operator has the highest priority

  • ()
  • []
  • *
  • /

3. What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above

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

5. To access the members of structure which symbol is used

  • *
  • -
  • ,
  • .
Read more from - C Programming Questions Answers - Chapter 1
Post a comment