@aadit-kapoor-EBxnXT
•
Oct 27, 2024
Oct 27, 2024
1.4K
Strings : Why is this program not printing the first element?
Why is this program not printing the first element?
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
char names[][5] = {
"aadit",
"jobs",
"mark",
};
printf("%s\n",names[0]);
getch();
}
when...