What is the output of the following code?
#includestdio.h
int main()
{ char str1[ ] = { 'g', 'm', 'i', 't'};
char str2[ ] = "gmit";
printf("%ld,%ld", sizeof(str1), sizeof(str2));
return 0;
}


Posted on by