0
why this code showing error
#include <stdio.h> int main() { char str1[6] = "hello"; char str2[ ] = "world"; /* size 6 */ printf("str1 is: %s, str2 is: %s", str1, str2); prinrf("size of str1 is %ld", sizeof(str1)); prinrf("size of str1 is %ld", sizeof(str2)); return 0; }
1 Odpowiedź
+ 1
printf instead of prinrf?