0
11th May 2019, 3:35 AM
Madhur Mohnish
Madhur Mohnish - avatar
5 ответов
+ 4
You are initializing the variable "a", as a string of characters with a maximum size of 100 characters
11th May 2019, 3:46 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 1
a[100] Is a character array Usually used for storing strings
11th May 2019, 3:45 AM
‎ ‏‏‎Anonymous Guy
0
Invboy- but when I'm typing a[10], then also it is storing 100 characters, how is that possible??
11th May 2019, 3:48 AM
Madhur Mohnish
Madhur Mohnish - avatar
0
HAPPY...- Are u sure sir that's character types??...I'm so confused
11th May 2019, 3:48 AM
Madhur Mohnish
Madhur Mohnish - avatar
0
a[100] means you are defining an array of type char to continuously store 100(0-99) characters in the memory .
11th May 2019, 6:23 AM
Garima Agrawal