What is the difference between a definition and a declaration?


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

Post New Answer

More C++ General Interview Questions

write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,


In a function declaration what does extern means?

0 Answers   Flextronics,


What is c++ best used for?

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


is throwing exception from a constructor not a good practice ?

5 Answers   Ericsson,






How do I run a program in notepad ++?

0 Answers  


How to declare a pointer to an array of integers?

0 Answers  


What is the difference between mutex and binary semaphore?

0 Answers  


What are namespaces in c++?

0 Answers  


What is the use of c++ programming language in real life?

0 Answers  


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


What are pointers used for c++?

0 Answers  


Categories