Related Articles

Related Articles

C | Functions | Question 2
  • Difficulty Level : Medium
  • Last Updated : 04 Feb, 2013

In C, parameters are always
(A) Passed by value
(B) Passed by reference
(C) Non-pointer variables are passed by value and pointers are passed by reference
(D) Passed by value result


Answer: (A)

Explanation: In C, function parameters are always passed by value. Pass-by-reference is simulated in C by explicitly passing pointer values.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :