Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / guest

'B' is the answer

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of I/O library in C++ ?

1180


What are the advantages of early binding?

1060


What is command line arguments in C++? What are its uses? Where we have to use this?

1256


Why do we need c++?

1041


Is c++ map a hash table?

1009


Are there any special rules about inlining?

1066


What are the benefits of operator overloading?

1199


What is a buffer c++?

1048


Explain overriding.

978


What is abstraction c++?

1000


To what does “event-driven” refer?

1045


Is it possible for the objects to read and write themselves?

1087


What is meant by a delegate?

1079


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

949


Is it possible to write a c++ template to check for a function's existence?

1012