A function can return multiple values as long as the return
Solution
6. As you are not mentioning any particular language , in java a function can return a multiple values as long as the return statement has them seperated by commas. So answer is T.
7.In C, a for loop can be replaced by while loop and it\'s entirely trivial and reverse is also true.
The general form of switch between FOR and WHILE is:
for(initialization; test-condition; increment/decrement) { statement }
initialization_of_variable; while(test-condition){ statements; increment/decrement; }
So the answer is T.
8. The use of the array \"b\" is different because of the use of \"const\". In the first array whatever we put the value or elements in the array we can change it later on ,we can redefined it later on. But whenever we use \"const\" it is not possible to change the values or elements later on once defined. But here one thing is that it has no effect on the size of array. One thing we must remember is that if any variable decleared as int and it has some value then we can\'t use it as the array size because it is not constant but if the variable was decleared as constant earlier then we can use that value as the size of the array.
9. If an array is decleared to have 10 elements it is not necessary to use all the elements. In a program we can use all the elements from an array or we may use some of the elements depending upon our requirement.
As the language is not specified it can vary from language to language. In c some older version of compiler can give the garbage value if the array is not initialized earlier. Some of the new compiler and in C++ unused elements gives zero as a result. But what result we get is depend on which language we use and it also depends on the which compiler we use.
