10 explain the relationship between an offset and an array index 12 what is the error /*numbers has 100 elements ,0 through 99*/ int numbers [0:99]; 14 what is the error int s [3] = {4,33,20,-9,70}; 16 show what is stored in the cells of the array int a [5] = {8,-2,20,26,-1003}; 18 show what is stored in the cells of the array char x [] = {'R','a','m','s'}; 20 assume that an int occupies2 bytes and that a float occupies 4 bytes. given the definitions int disk[500]; float weight[40]; find the value of sizeof (disk) sizeof (disk[100]) 24 the following code is supposed to set i to the first occurance of a positive number in a[0],a[1],.......,a[n] or to n+1 if there are no positive numbers; however, the code is incorrect explain what the problem is and write the correct version for (i=0;a[i]<=0 && i<= n; i++); 2 what is the error void fun(double bigs); main() { double bignumbs [20]; /*invoke fun with bignumbs as argument*/ fun( bignumbs ); .... } void fun (double bignumbs ) { ... } 4 true or false the following function returns 1 if v[low],....,v[high] is in ascending order and 0 otherwise explain int order (int v[], int low, int high) { int flag =1; for ( ; low < high; low++) if ( v [low] <=v [ low +1]) flag =1; else flag=0; return flag } 6 given the defination char arr4 [100] [7] [5] [120]; show a call to a function fun1 with the array arr4 as the only argument and fun1's header 10 given the defination int a [3] [5]; what is the meaning of a[1,2] 2 true or false z = 111; fun(++z,++z,++z,); fun's three arguments must evaluate to 112,113,114, in that order 2 true or false call by value ensures that an invoked function cannot change the contents of any variable that occurs as an argument
## Deliverables
answers in english
## Platform
MS word , note pad