C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P None of These M N P None of These M N ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and III II and III III and IV II and IV I and II I and III II and III III and IV II and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C NOITANIMAXE No output at all. C Syntax error NOITANIMAXE C NOITANIMAXE No output at all. C Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) sqr(x) pow(x, 2) power(2, x) power(x, 2) pow(2, x) sqr(x) pow(x, 2) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Runtime error 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP