Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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.

Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C course to start learning today.
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!