C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 24, 13 13, 10, 24, 50 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 50, 13, 24, 13 13, 10, 24, 50 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 15 14 Garbage Value 12 13 15 14 Garbage Value 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 Run time error 20 20 10 20 10 10 Run time error 20 20 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello H Some Address will be printed None of These Hello H Some Address will be printed None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 1 -1 0 33 Compilation Error 1 -1 0 33 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 );} The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP