UGC-NET | UGC NET CS 2017 Jan – II | Question 11

Which of the following cannot be passed to a function in C++ ?
(A) Constant
(B) Structure
(C) Array
(D) Header file


Answer: (D)

Explanation: Header file can not be passed to a function in C++. While array, constant and structure can be passed into a function.
So, option (D) is correct.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.