kalo93

Untitled

Feb 9th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. main(){
  4.  
  5. char p[50];
  6. int i=0;
  7. printf("palavra");
  8. scanf("%s",&p);
  9. while (p[i]!="\0"){
  10. i++;
  11. }
  12.  
  13. printf("%d",i);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment