Advertisement
Md_hosen_zisad

array char

Sep 10th, 2017
414
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. {   int i;
  4.     char arr[5];
  5.     for(i=0;i<5;i++)
  6.     {
  7.         scanf("%c",&arr[i]);
  8.  
  9.         printf(" \n %c",arr[i]);
  10.  
  11.     }
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement