Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. arrayfunc()
  2. {
  3. char chararray[]="savn"; //initialization of char array.
  4. char chararray1[5]="savn";// another way of initialization.
  5. char chararray2[3]="savn";// check this
  6.  
  7. printf("chararray[]: %s, chararray1[7]: %s, chararray2[5]: %s ",chararray,chararray1,chararray2);
  8. //check the above line.
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement