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);} 20 24 None of these 30 25 20 24 None of these 30 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians examians1 1examians exam_veda _examians examians1 1examians exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 1 12 Error 11 1 12 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 0 0 1 2 0 0 0 0 2 1 0 0 1 3 0 0 0 1 3 1 0 0 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope Local scope Block scope No scope at all Function scope File scope Local scope Block scope No scope at all Function scope ANSWER DOWNLOAD EXAMIANS APP