Question PRG-C-0043
MediumWhat is the output of this program?
#include <stdio.h>
int main() {
char s[] = "hello";
printf("%zu %zu", sizeof(s), sizeof("hi"));
return 0;
}
- A.
6 2
- B.
5 2
- C.
Sign up free to see the answer and a step-by-step explanation.