C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 -1 complier error -1 1 -1 1 1 1 -1 -1 complier error -1 1 -1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 11, 11 10, 10 10, 11 11, 10 11, 11 10, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 55445 54554 54544 45545 55445 54554 54544 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 2 Program do no return a value. -1 1 2 Program do no return a value. -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values Error 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error 6 Garbage value 3 Error 6 Garbage value 3 ANSWER DOWNLOAD EXAMIANS APP