Q. What would be the output of the following program?
Code:
#include
main()
{
char str[]=”S\065AB”;
printf(“n%d”, sizeof(str));
}
β
Correct Answer: (B)
6
#include
main()
{
char str[]=”S\065AB”;
printf(“n%d”, sizeof(str));
}
You must be Logged in to update hint/solution