In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
574How the programmer of a class should decide whether to declare member function or a friend function?
671We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
567How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
631Post New C++ General Questions
What is the purpose of template?
what are the types of Member Functions?
Can we specify variable field width in a scanf() format string? If possible how?
What is code reusability in c++?
What are references in c++?
What does return 0 do in c++?
Are iterators pointers?
What is c++ used for in games?
What is virtual base class uses?
You want to link a c++ program to c functions. How would you do it?
Which programming language is best to learn first?
How to implement is-a and has-a class relationships?
What do you mean by function pointer?
Who was the creator of c++?
Is std :: string immutable?