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