CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Indexing an Array of Strings

C code walkthrough · Question 48
easyStrings

Code

Read carefully. What does this print?
1#include <stdio.h>
2 
3int main() {
4 const char *days[] = {"Mon", "Tue", "Wed"};
5 printf("%s%s\n", days[0], days[2]);
6 return 0;
7}

Your answer