Can non-public members of another instance of the class be retrieved by the method of the same class?
1123Post New C++ General Questions
Write a program to concatenate two strings.
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.
What is the auto keyword good for in c++?
What do you mean by const correctness?
Describe about storage allocation and scope of global, extern, static, local and register variables?
Can char be a number c++?
What is long in c++?
What are the implicit member functions of class?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
Is c++ built on c?
What is searching? Explain linear and binary search.
Program to check whether a word is a sub-string or not of a string typed
Define namespace in c++?
How we can differentiate between a pre and post increment operators during overloading?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?