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 can’t you call invariants() as the first line of your constructor?
what are Access specifiers in C++ class? What are the types?
Which software is best for programming?
What is vectorial capacity?
Is overriding possible in c++?
What are special characters c++?
Is atoi safe?
What are the data types in c++?
What is the full form of india?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Can we overload operator in c++?
What is the difference between = and == in C?
20 Answers Christ University, Intel,