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 25 30 24 None of these 20 25 30 24 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation All of these Takes care of conditional compilation Takes care of include files Takes care of macros Acts before compilation All of these Takes care of conditional compilation Takes care of include files Takes care of macros ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 Syntax error 0713 713 0289 1289 Syntax error 0713 713 0289 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 4 2, 3 1, 4 1 None of these 2, 4 2, 3 1, 4 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 10 14 1 0 10 14 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Run time error Enter your age: xyz You have lived for 0.00000 seconds Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Run time error ANSWER DOWNLOAD EXAMIANS APP