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

Can you please explain the difference between using macro and inline functions?

0 Answers  


What is the output of: String a1 = "Hello"; String a2 = "world!"; String* s1 = &a2; String& s2 = a1; s1 = &a1; s2 = a2; std::cout << *s1 << " " << s2 << std::endl;

4 Answers   Lehman Brothers,


What is abstraction with real time example?

0 Answers  


Why is c++ still used?

0 Answers  


What is a dynamic binding in c++?

0 Answers  


What is the difference between the functions memmove() and memcpy()?

0 Answers  


Why Pointers are not used in C++?

0 Answers   Global Logic,


How to stop conversions among objects?

5 Answers   Symphony,


Which operations are permitted on pointers?

0 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


Why is c++ difficult?

0 Answers  


how to find the maximum of 10 numbers ?

5 Answers  


Categories