C Array (PartI)1. Which of the following statements about the array are not true?
a. To use an array, previously it is declared and defined.
b. A one-dimensional array can store data in the form of table with many rows and columns.
c. The position of every element of the array is used to access that element that position.
d. A one-dimensional array can store different types of data
Check answer 2. When an array is partially initialized, the rest of its elements will automatically be set to zero.
a.True b. False Check answer 3. The whole array can be passed to a function. However, it can't be changed by the code in that function.
a.True b. False Check answer 4. A two-dimensinal array represents data in the form of table with rows and columns.
a.True b. False Check answer 5. If you have an array of 20 elements, what is the good way to assign a value to each element?
a.Assigning each element individually without using a loop
b.Using a loop to assign a value to each element
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
Copyright @ 2011-2013 worldbestlearningcenter. All Rights Reserved.