C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error None of These 300 %d\n Error None of These 300 %d\n 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"); 33 1 0 Compilation Error -1 33 1 0 Compilation Error -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char double float int real char double float int real 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. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. 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);} b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
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, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 ANSWER DOWNLOAD EXAMIANS APP