Advertisement
Guest User

bobo

a guest
Oct 31st, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1.  
  2. #include<stdio.h>
  3. #include<stdlib.h>
  4. int main(){
  5.     char texto[14]={'C', ' ', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'i', 'v', 'o','\n'};
  6.     unsigned int i=0;
  7.     //acha tamanho
  8.     while(texto[i]!= '\0')i++;
  9.     //imprime tamanho
  10.     printf("o tamanho eh %d",i);
  11.     for
  12.     return 1;
  13.  
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement