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!
1
Expert's answer
2012-09-07T10:25:10-0400
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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS