C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 9 5 6 Error None of these 9 5 6 Error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } None of these 14 10 1 0 None of these 14 10 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stdin Data file no such function in 'C'. stderr string stdin Data file no such function in 'C'. stderr string 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 9 10 11 12 13 10 11 12 13 14 None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 10 11 12 13 14 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? bcdefg fg efg cdefg defg bcdefg fg efg cdefg defg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP