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