Yeah..it looks so,Thank U.
Type: Posts; User: syamprasadkr
Yeah..it looks so,Thank U.
I have the following piece of code
for(i=0;(ch=getchar())!='\n';i++)
s[i]=ch;
Why do we use ch here?
Why can't we use array directly?
Is it some kind of programming practice?