1 votes 1 votes #include<stdio.h> #include<stdio.h> void main() { int in; while ((in = getchar())) { putchar(in); } } explain o/p and what is in=getchar line Registered user 7 asked Jul 30, 2016 Registered user 7 275 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes It will accept a character from keyboard. Display the character. This loop will continue infinitley.!!!! reason: For each read of character from keyboard, get char() returns a non zero value hence while loop runs forever sh!va answered Aug 1, 2016 sh!va comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes it will print the entered charecter infintely . GATE devoted answered Aug 3, 2016 GATE devoted comment Share Follow See all 0 reply Please log in or register to add a comment.