Answer to Question #14337 in C++ for molorane

Question #14337
what is wrong in these c++ statements? char * name; name = "michael"; std::cout<<name<<"\n"; This program has no errors!
Expert's answer
char * name;
name = "michael";
cout<<name<<"\n";

In
this statements there's no wrong. This code compile and run very well

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal