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
Check answer


This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.
Copyright @ 2011-2013 worldbestlearningcenter. All Rights Reserved.