Can a function take variable length arguments, if yes, how?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Difference between declaration and definition of a variable.

0 Answers  


What is a protocol class?

1 Answers  


What is meant by iomanip in c++?

0 Answers  


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

0 Answers  


Define 'std'.

0 Answers  


What is basic if statement syntax?

0 Answers  


diff between pointer and reference in c++?

1 Answers  


Explain the difference between abstract class and interface in c++?

0 Answers  


class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.

2 Answers   Quark,


How do you generate a random number in c++?

0 Answers  


How to construct muliton object

2 Answers   Symphony, TCS,


What do nonglobal variables default to a) auto b) register c) static

0 Answers  


Categories