string somestring ;
Which of the following choices will convert a standard C++
string object "somestring" to a C string?
a) Copy.somestring () ;
b) somestring.c_str ()
c) &somestring [1]
d) std::cstring (somestring)
e) (char *) somestring
How the programmer of a class should decide whether to declare member function or a friend function?
Explain what are single and multiple inheritances in c++?
Difference between struct and class in terms of access modifier.
What are different types of loops in c++?
Explain the different access specifiers for the class member in c++.
Can char be a number c++?
Write about the access privileges in c++ and also mention about its default access level?
What is object in c++ wikipedia?
write a program in c++ to implement stack using functions in header file stack.h
What is c++ mutable?
Do we have to use initialization list in spite of the assignment in constructors?
Does c++ have foreach?