int main()
{
char s[]="hello world";
s[20]='x';
printf("%s %c",s.s[20]);
return 0;
}
output:
hello world x
but acc to K&R page no 104 ,2nd last para
s is just big enough to hold the sequence of charcters.
created
last reply
- 5
replies
- 127
views
- 2
users