CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List
C Code Walkthrough #48

Indexing an Array of Strings

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