Answer to Question #15779 in C++ for Kavan

Question #15779
Write a program in C++ to read and print an given character ?
1
Expert's answer
2012-10-03T08:42:31-0400
int main()
{
char c;
while(c=getchar()){
printf("%c",c);
}
return 0;
}

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