C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 9 None of These 10 11 9 None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 10 None of these 14 1 0 10 None of these 14 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above 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 What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 25 30 20 24 None of these 25 30 20 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I and II I, II and III I, III and IV III and IV II and III I and II I, II and III I, III and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP