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
Why should you learn c++?
Explain the concept of dynamic allocation of memory?
what is data abstraction in C++?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
How is static data member similar to a global variable?
What is "mutable" keyword?
How do you clear a map in c++?
What are the various compound assignment operators in c++?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.
Will c++ be replaced?
what do you mean by memory management operators
Explain how functions are classified in C++ ?