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 a manipulative person?
What are associate containers?
what is smart pointer & use of the smart pointer ???
Explain the difference between struct and class in terms of access modifier.
What are the two types of comments, and how do they differ?
What is Destructor in C++?
What is the Difference between "C structure" and "C++ structure"?
Explain about profiling?
What do you mean by late binding?
What is class syntax c++?
What is the main purpose of overloading operators?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,