Can I have a reference as a data member of a class? If yes, then how do I initialise it?


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

Post New Answer

More C++ General Interview Questions

Why do C++ compilers need name mangling?

3 Answers   Lucent,


What problem does the namespace feature solve?

1 Answers  


Can we use this pointer inside static member function?

0 Answers  


reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 Answers  


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

0 Answers  


Can we specify variable field width in a scanf() format string? If possible how?

0 Answers  


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 Answers  


What are the three forms of cin.get() and what are their differences?

0 Answers  


Differentiate between a pointer and a reference with respect to c++.

0 Answers  


Why namespace is used in c++?

0 Answers  


What is an undefined behavior and sequence points

0 Answers  


Categories