C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 infinity loop 3 2 1 no output 3 2 1 0 infinity loop 3 2 1 no output ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45445 45545 54544 54554 45445 45545 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope Function scope Local scope Block scope No scope at all File scope Function scope Local scope Block scope No scope at all ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 1 30 15 10 -5 1 30 15 10 ANSWER DOWNLOAD EXAMIANS APP