rothmans-avatar

"Some one out there kindly provide the initialization process of this code. int list[10] = {8, 5, 12};"

Please help me, i want to know the answer as quickly as possible.
0%

1 reply

over 13 years ago
juno-avatar
"The statement_x000D_ int list[10] = {8, 5, 12};_x000D_ declares list to be an array of 10 components, initializes list[0] to 8, list[1] to 5, list[2] to 12 and all other components are initialized to 0_x000D_ _x000D_ Source: http://in.docsity.com/en-docs/Introduction+to+Computing-Computer+Fundamentals-Lecture+Slides"