1.

        Note:Includes all required header filesusing namespace std;    int main ()   {       int find[5];       int * p;       p = find;  *p = 1;       p++;  *p = 2;       p = &find[2];  *p = 3;       p = find + 3;  *p = 4;       p = find;  *(p + 4) = 5;       for (int n = 0; n < 5; n++)           cout << find[n] << ",";       return 0;   }    
20.The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is

A. int **fun(float**, char**)
B. int *fun(float*, char*)
C. int ***fun(float*, char**)
D. int ***fun(*float, **char)
E.
Answer» D. int ***fun(*float, **char)


Discussion

No Comment Found

Related MCQs