Advertisement
mabwehz

fixedErrors

Apr 4th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     char ch1;
  5.     // find the error
  6.     scanf("%c", &ch1);
  7.     printf("You entered %c \n", &ch1);
  8.     printf("%c is %d", ch1, ch1);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement