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
What is class invariant in c++?
What is meant by a delegate?
List the types of polymorphism in c++?
Can we sort map in c++?
What is the meaning of string in c++?
Is c++ a dying language?
Why can’t you call invariants() as the first line of your constructor?
What are templates? where we should use it?
Can turbo c++ run c program?
What is searching? Explain linear and binary search.
What is c++ similar to?
Under what conditions is multiple inheritance not recommended?