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
Is c++ the best programming language?
How is c++ used in the real world?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
What are templates? where we should use it?
Is it possible to provide special behavior for one instance of a template but not for other instances?
Explain "const" reference arguments in function?
What is the Diffrence between a "assignment operator" and a "copy constructor"?
What is ios in c++?
What is a .lib file in c++?
What issue do auto_ptr objects address?
What is the full form of stl in c++?
Explain working of printf?