Question

What is the output of the following C code?   char str[] = "Hello\0World";  printf("%d", strlen(str));

A 11
B 10
C 5
E 6
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)