C Programming Comment on the following?const int *ptr; Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These Error three zero None of These Error three zero ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as Data processing language General purpose language None of these System programming language Data processing language General purpose language None of these System programming language ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 14 13 12 11 Compilation error 14 13 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[1] = 2 a[0] = 2 a[0] = 3 a[1] = 3 Compilation error a[1] = 2 a[0] = 2 a[0] = 3 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 11 6 5 6 6 6 12 7 6 7 11 6 5 6 6 6 12 7 ANSWER DOWNLOAD EXAMIANS APP