0
For char a[6] i am giving abcdefgh as input and it contains 7 chars but it is working properly... Is not the 6 no of characters?
2 odpowiedzi
+ 1
can you give the code?
+ 1
The 6 refers to the index of the character. a[0] would output the first character since indexing starts at 0
a[6] would output "g"