If I have char array[6] and my input, ABC is stored in the array, what would be the next element after ABC in the array? I tried experimenting but the result doesn't make sense.
Printable View
If I have char array[6] and my input, ABC is stored in the array, what would be the next element after ABC in the array? I tried experimenting but the result doesn't make sense.
You should have "ABC" followed by a \0, and then 2 bytes of junk (could be anything).
Got it, thanks!