Advertisement
KDOXG

scanf!

Dec 20th, 2018
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void main(){
  4.     int i;
  5.     char c, k;
  6.     k = 'k';
  7.     c = k;
  8.     scanf("%d", &i);
  9.     printf("%d Isto e um inteiro, %c Isto e um caractere. %c Isso tbm", i, c, 'a');
  10.     return;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement