0
712views
What will be the output of the following program code?
written 5.7 years ago by | • modified 3.0 years ago |
Program:
void main ( ) {
char a[]= "Hello World" ;
char *p ;
p=a;
printf("\n%d %d %d %d", sizeof(a), sizeof(p), strlen(a), strlen(p) );
}
A] 11 11 10 10
B] 10 10 10 10 10
C] 12 12 11 11
D] 12 2 11 11
ADD COMMENT
EDIT
1 Answer