Strings in C | Q - 3

Last Updated :
Discuss
Comments

What is the output?

C
#include <stdio.h>
#include <string.h>

int main() {
    printf("%ld", strlen("Hello"));
    return 0;
}


4

5

6

Compilation Error

Tags:
Share your thoughts in the comments