Q. What will be output of the following c code?
Code:#include “string.h”
void main(){
clrscr();
printf(“%d %d”,sizeof(“string”),strlen(“string”));
getch();
}
β
Correct Answer: (C)
7 6
#include “string.h”
void main(){
clrscr();
printf(“%d %d”,sizeof(“string”),strlen(“string”));
getch();
}
You must be Logged in to update hint/solution