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 to create a pure virtual function?
what is C++ objects?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
Why do we use setw in c++?
Explain object slicing in c++?
How do you initialize a string in c++?
Explain how overloading takes place in c++?
What is the best book for c++ beginners?
what you know about c++?
What are move semantics?
Distinguish between a # include and #define.