C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 10 1 Garbage Value None of These 10 1 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -3.4e38 to 3.4e38 -32767 to 32768 -32768 to 32767 -32668 to 32667 -3.4e38 to 3.4e38 -32767 to 32768 -32768 to 32767 -32668 to 32667 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); Garbage Value 15 13 12 14 Garbage Value 15 13 12 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 6 12 7 It will not compile because not enough initializers are given 24 6 12 7 It will not compile because not enough initializers are given 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. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These ANSWER DOWNLOAD EXAMIANS APP