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);} 30 24 None of these 20 25 30 24 None of these 20 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} complier error 0 no error no output 1 complier error 0 no error no output 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} hai absiha asiha haasi hai absiha asiha haasi ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 0 2 None of These Garbage Value 0 2 ANSWER DOWNLOAD EXAMIANS APP