Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. void pobierz();
  5. void wyswietl(int q, char * napis);
  6.  
  7. int main(int argc, char **argv)
  8. {
  9.     pobierz();
  10.     return 0;
  11. }
  12. void pobierz()
  13. {
  14.     int q;
  15.     char * napis;
  16.     printf("Wprowadz napis:\n");
  17.     scanf("%c", napis);
  18.     q = strlen(napis);
  19.     wyswietl(int q, char *  napis);
  20. }
  21. void wyswietl(int q,char * napis);
  22. {
  23.     printf("Napis %c ma dlugosc &d", napis, q);
  24.    
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement