![Aadit Kapoor](https://www.crazyengineers.com/img/avatar.jpg)
Aadit Kapoor
Member • Mar 18, 2014
Strings : Why is this program not printing the first element?
Why is this program not printing the first element?
when I printf(%s",names[0]) it shows aaditjobs.
#include#include #include int main(void) { char names[][5] = { "aadit", "jobs", "mark", }; printf("%s\n",names[0]); getch(); }
when I printf(%s",names[0]) it shows aaditjobs.