1.

How many ways of passing a parameter are there in c++?(a) 1(b) 2(c) 3(d) 4I had been asked this question in an internship interview.This key question is from Argument Passing topic in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer»

The correct ANSWER is (C) 3

The BEST I can EXPLAIN: There are THREE ways of passing a parameter. They are pass by value,pass by reference and pass by pointer.



Discussion

No Comment Found

Related InterviewSolutions