SHARE
TWEET

Untitled

a guest May 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int dlugosc(char slowo[])
  4. {
  5.     int dlugosc=0;
  6.     while(slowo[dlugosc] != 0) dlugosc++;
  7.    
  8.     return dlugosc;
  9. }
  10. int main()
  11. {
  12.     char slowo[100] = {};
  13.     scanf("%s", &slowo);
  14.     printf("%d", dlugosc(slowo));
  15.  
  16.     return 0;
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top