#include <stdio.h> #include <string.h> void UzunlukBul(char string[], int uzunluk); int main() { char hm[1024]; int uzunbul; printf("Bir string girin :"); gets(hm); UzunlukBul(hm,uzunbul); return 0; } void UzunlukBul(char string[], int uzunluk){ uzunluk=strlen(string); printf("(%s - %d)",string,uzunluk); }
Powered by vBulletin®Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.