Hi,
trying to learn strlen, and after typing out an example out of a book.
For some reason, it doesn't work. =(
I double checked that there is no typing/syntax errors. It's in german, but the code is in English =)
Can anyone give me a clue as to why this doesn't compile?
Thanks!
Code://* noch ein beispiel: strlen.c *// #include <stdio.h> #include <string.h> int main (void) { char string [100] = "So lang ist dieser String:"; printf ("So gross ist das char-Array: %d\n", sizeof (string)); printf ("%s %d\n", string, strlen (string)); }