1. Examine the following array declaration and answer the following questions: double value[5]; a) What is the name of the array? b) What is the type of the array? c) What is the size of the array? 2. Examine the following statements. Identify any problems and where necessary suggest fixes. a) int val[4]={1, 1, 5, 6, 4}; b) int val[] = {1, 1, 3}; c) const int SIZE=2; int val[SIZE]; d) const int SIZE=10; int val[SIZE-2]; 3. Examine the following program fragment. What is output? char val[3]={'a', 'b', 'c'}; for (int i=0; i<3;i++) cout << val[i]; 4. What is wrong with the following program fragment? int val[10]; for (int i=1; i<=10; i++) val[i]=i-1; 5. Examine the following declaration. How much memory will the array occupy. int val[8]; 6. Examine the following declarations and function definition. int val[3]={1, 5, 8}; int i=2; void a(int z) { z=z+1; cout << z; } Which of the following are valid invocations? what is output? a) a(i); b) a(val[i]); c) a(val[3]); d) a(val[0]); e) a(val);