Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <windows.h>
- int funkcja(char *nap1){
- int i=0;
- while(nap1[i]!='\0'){
- i=i+1;
- }
- return i;
- }
- int main(){
- char napis[128];
- scanf("%128s", napis);
- //strcpy(napis, " ala ma wibrator i uzywa go do przejazdzek");
- printf("%d \n", funkcja(napis));
- system("pause");
- return 0;
- }
Add Comment
Please, Sign In to add comment