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 = 4, c = 8 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These Compiler Error 10 50 None of These Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=2 sizeof(i)=1 None of These Compiler Error sizeof(i)=2 sizeof(i)=1 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg bcdefg cdefg fg defg efg bcdefg cdefg fg defg 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 );} There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 1 complier error 0 no error no output 1 complier error 0 ANSWER DOWNLOAD EXAMIANS APP