← Back to Question List
C Code Walkthrough #20
String and a Single Character
📄 Code
Read carefully — what does this print?1#include <stdio.h>2int main() {3 char name[] = "Hello";4 printf("%s %c\n", name, name[1]);5 return 0;6}