Question 71

In C language

  1. AParameters are always passed by values
  2. BParameter are always passed by reference
  3. CNon-pointer variables are passed by value and pointers are passed by reference
  4. DParameters are alsways passed by value result
Show answerHide answer

Correct answer: (A) Parameters are always passed by values

Explanation

C supports only call by value. Even a pointer is passed by value (a copy of the address); call by reference is only simulated by using that address.

From DSSSB TGT Computer Science Practice Set 1

This is question 71 of DSSSB TGT Computer Science Practice Set 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.