What function initalizes variables in a class:

a) Destructor

b) Constitutor

c) Constructor


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

Post New Answer

More C++ General Interview Questions

How do you declare a set in c++?

0 Answers  


Is there a c++ certification?

0 Answers  


What is prototype in c++ with example?

0 Answers  


Using a smart pointer can we iterate through a container?

0 Answers  


What is split a string in c++?

0 Answers  






Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


What is array give example?

0 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


iam a fresher to Qt(GUI a c++ based framework software). i need to develop the basic applications on designer by drag and dropping mechanism...so pls send me the procedure to design applications?

1 Answers  


Explain abstraction.

0 Answers  


Difference between shift left and shift right?

1 Answers   Symphony,


If all is successful, what should main return a) 0 b) 1 c) void

0 Answers  


Categories