C Programming The type of the controlling expression of a switch statement cannot be of the type ........ long float short char int long float short char int ANSWER DOWNLOAD EXAMIANS APP
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 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 065 65 053 65 53 65 Syntax error 65 65 065 65 053 65 53 65 Syntax error 65 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value Garbage value 0 0 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 no output 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 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. There should be a semicolon at the end of the statement. The commas should be semicolons. 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. There should be a semicolon at the end of the statement. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP