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 25 30 None of these 20 24 25 30 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() puts() scanf() None of these printf() gets() puts() scanf() None of these printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 21 10 20 21 10 10 20 21 20 10 10 11 11 10 20 21 21 10 20 21 10 10 20 21 20 10 10 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. 2 -1 1 Program do no return a value. 2 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg bcdefg defg cdefg fg efg bcdefg defg cdefg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An Editor An operating system None of these. A compiler An Editor An operating system None of these. A compiler ANSWER DOWNLOAD EXAMIANS APP