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;} 6 Error 9 5 None of these 6 Error 9 5 None of these 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 III and IV I and II II and IV I and III II and III III and IV I and II II and IV I and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Arithmetic operators Relational operators Logical operators Equality operators Arithmetic operators Relational operators Logical operators ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 0 1 Error 100 0 1 Error 100 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); } Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi Error hi followed by garbage value h Garbage Value hi Error hi followed by garbage value h Garbage Value ANSWER DOWNLOAD EXAMIANS APP