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
30
None of these
24
25

ANSWER DOWNLOAD EXAMIANS APP

C Programming
What is the difference between a declaration and a definition of a variable?

Both can occur multiple times, but a declaration must occur first.
A declaration occurs once, but a definition may occur many times.
A definition occurs once, but a declaration may occur many times.
Both can occur multiple times, but a definition must occur first.
There is no difference between them.

ANSWER DOWNLOAD EXAMIANS APP