C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 4, 4 2, 2 2, 4 0, 2 2, 0 4, 4 2, 2 2, 4 0, 2 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} examians complier error None of these well done examians examians complier error None of these well done examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; 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. Both of the above We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} Error x=4 x=5 x=0 x=1 Error x=4 x=5 x=0 x=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 10 30 -5 15 1 10 30 -5 15 1 ANSWER DOWNLOAD EXAMIANS APP