Advertisement
Aminpro

[ECP1016] Some Example Fragment

Sep 26th, 2012
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. //https://www.facebook.com/AminproPastebin
  2.  
  3. int main(){
  4.     char word[4] = {'a','b','c','d'};
  5.     int x;
  6.     int i;
  7.     for(i=0; i<4; i++){
  8.     printf("%c", word[i] );}
  9.     x = strlen(word);
  10.     printf("%d", x);
  11.     getchar();
  12.    
  13.    
  14.    
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement