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 = 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 b = 3, c = 6 a = 4, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 6 7 Compiler Error 0 5 6 7 Compiler Error 0 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Forget it Ok here None of These Error Forget it Ok here None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I love Examians Error None of These I hate Examians I love Examians Error None of These I hate Examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World 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);} 100 5 100 5 0 20 100 0 100 5 0 100 100 100 100 100 5 100 5 0 20 100 0 100 5 0 100 100 100 100 ANSWER DOWNLOAD EXAMIANS APP