C Programming Choose the best answer.Prior to using a pointer variable It should be declared. It should be initialized. None of these. It should be both declared and initialized. It should be declared. It should be initialized. None of these. It should be both declared and initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 5 4 3 2 1 None of These Infinite Loop 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE No output at all. C Syntax error NOITANIMAXE C NOITANIMAXE No output at all. C Syntax error NOITANIMAXE C ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 053 65 Syntax error 065 65 65 65 53 65 053 65 Syntax error 065 65 65 65 53 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int p[][4]){} void fun(int *p[][4]){} ANSWER DOWNLOAD EXAMIANS APP