C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 0 Garbage Value 2 None of These 0 Garbage Value 2 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Compiler Error 3 hello Linking error None of these Compiler Error 3 hello Linking error None of these 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 100 5 100 5 0 100 100 100 100 5 0 20 100 0 100 100 5 100 5 0 100 100 100 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It associates from the right It cannot be applied to an expression The operand can come before or after the operator It is a unary operator All of these It associates from the right It cannot be applied to an expression The operand can come before or after the operator It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP