Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
#include
int main() { char fruits[3][10] = {"Apple", "Banana", "Cherry"}; int count = sizeof(fruits) / sizeof(fruits[0]); int i; printf("Number of strings: %d\n", count); for (i = 0; i < count; i++) { printf("%s\n", fruits[i]); } return 0; }
Number of strings: 3
Apple
Banana
Cherry