Why doesn't this work?
#include<stdio.h>
int main()
{
char ch[50];
ch[50]="manipulation";
puts(ch);
}
and why does this work?
#include<stdio.h>
int main()
{
char ch[50]="manipulation";
puts(ch);
}
By "it works" I mean i get the output i want, that is, printing of "manipulation"(without quotes) as standard output.