C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 9 5 10 11 6 9 5 10 11 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 16 17 19 -1 20 16 17 19 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hi friends hj grjeodt None of These ij!gsjfoet hi friends hj grjeodt None of These ij!gsjfoet 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);} Segmentation fault/runtime crash 10 Undefined behavior Compiler time error Segmentation fault/runtime crash 10 Undefined behavior Compiler time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 100 1 Error 100 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 c Error A 65 c Error A ANSWER DOWNLOAD EXAMIANS APP