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 meant by reference variable in C++?
How do you define/declare constants in c++?
What are the differences between a struct in C and in C++?
What is the advantage of c++ over c?
What is the importance of mutable keyword?
What is the meaning of string in c++?
what is a class? Explain with an example.
Explain method of creating object in C++ ?
Differentiate between declaration and definition in C++?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
What is dev c++ used for?
How a modifier is similar to mutator?