C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 10 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 Infinite loop None of these 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 Infinite loop None of these 10 11 12 13 14 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = -1 i = 1, +i = 1 None of These i = -1, +i = 1 i = -1, +i = -1 i = 1, +i = 1 None of These i = -1, +i = 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, 11, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 0 None of these 5 Garbage Value 6 0 None of these 5 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
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.5 1 9 2 0.25 0.5 1 9 2 0.25 ANSWER DOWNLOAD EXAMIANS APP