C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 no output 3 2 1 0 infinity loop 3 2 1 no output 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Acts before compilation Takes care of conditional compilation Takes care of macros Takes care of include files All of these Acts before compilation Takes care of conditional compilation Takes care of macros Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? exam_veda _examians 1examians examians1 exam_veda _examians 1examians examians1 ANSWER DOWNLOAD EXAMIANS APP
C Programming When a function is recursively called all the automatic variables are stored in a .......... Register Array Stack Queue Linked list Register Array Stack Queue Linked list ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 9 0.5 2 1 0.25 9 0.5 2 1 0.25 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP