Skip to content

Instantly share code, notes, and snippets.

@Rahajustone
Created March 20, 2014 22:41
Show Gist options
  • Save Rahajustone/9675585 to your computer and use it in GitHub Desktop.
Save Rahajustone/9675585 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int karakter_saymak(char s[])
{
int i=0;
while(s[i]!='\0')
++i;
return i;
}
int main(void) {
const char* a;
a="merhaba";
printf("%d\n",karakter_saymak(a));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment