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 = 4, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 20 100 0 100 5 0 100 100 5 100 100 100 100 5 0 20 100 0 100 5 0 100 100 5 100 100 100 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello garbage value Error hello 5 None of These hello garbage value Error hello 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. 1 The number of successful read input values. 0 The actual values read for each argument. ASCII value of the input read. 1 The number of successful read input values. 0 The actual values read for each argument. 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 It will not compile because not enough initializers are given 7 12 24 6 It will not compile because not enough initializers are given 7 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? + / % None of these * + / % None of these * ANSWER DOWNLOAD EXAMIANS APP