C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.25 9 0.5 1 2 0.25 9 0.5 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Combining two strings. Extracting a substring out of a string. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Combining two strings. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 6 10 1 0 None of these 6 10 1 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 0 complier error 1 no error no output 0 complier error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 13, 24, 13 50, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 15 50 10 None of these 30 15 50 10 None of these 30 ANSWER DOWNLOAD EXAMIANS APP