C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 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);} 50, 13, 24, 50 50, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of None of these. An Editor An operating system A compiler None of these. An Editor An operating system A compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as Data processing language None of these General purpose language System programming language Data processing language None of these General purpose language System programming language ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 10 -5 15 1 30 10 -5 15 1 ANSWER DOWNLOAD EXAMIANS APP