Advertisement
AJTAMjid2000

Untitled

Jun 9th, 2021
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. int main() {
  3.     int c;
  4.  
  5.     while ((c = getchar()) != EOF && c!='\n') {
  6.         printf("%d\n", c != EOF);
  7.     printf("%c\n",c);
  8.     }
  9.  
  10.         return 0;
  11. }
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement