what is the use of getchar () and putchar () in c++ in comp
Answers
Answered by
2
putchar() is a function used to display single character on the screen. putchar() is also macro defined and is equivalent to putc(c,stdout) which is a macro. Where as getchar() read single character from keyboard as a input.
if you are satisfy with my ans then mark me as a brainlist
if there is something wrong then kindly rectify it
Similar questions
Social Sciences,
7 months ago
Physics,
7 months ago
Political Science,
1 year ago
English,
1 year ago