C Programming The type of the controlling expression of a switch statement cannot be of the type ........ float long int char short float long int char short ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 24 25 20 None of these 30 24 25 20 None of these 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 0 Garbage Value None of These 2 0 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP None of These 12PP345 Compiler Error 12PP None of These 12PP345 Compiler Error 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++) There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The commas should be semicolons. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The commas should be semicolons. The variable k can’t be initialized. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP