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 do I tokenize a string in c++?
In the derived class, which data member of the base class are visible?
Difference between struct and class in terms of access modifier.
How are virtual functions implemented in c++?
What is the purpose of ios::basefield in the following statement?
What is virtual destructor? What is its use?
Why do we use double in c++?
What is a container class? What are the types of container classes?
What is c++ & why it is used?
What is a loop? What are different types of loops in c++?
Explain terminate() function?
How much is c++ certification?