C Programming Determine Output:void main(){ char *p="hi friends", *p1; p1=p; while(*p!='\0') ++*p++; printf("%s", p1);} hj grjeodt hi friends ij!gsjfoet None of These hj grjeodt hi friends ij!gsjfoet None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. 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); } 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 4, 4 2, 4 0, 2 2, 2 2, 0 4, 4 2, 4 0, 2 2, 2 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[1] = 3 a[0] = 2 a[0] = 3 a[1] = 2 Compilation error a[1] = 3 a[0] = 2 a[0] = 3 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It associates from the right It is a unary operator It cannot be applied to an expression The operand can come before or after the operator All of these It associates from the right It is a unary operator It cannot be applied to an expression The operand can come before or after the operator All of these ANSWER DOWNLOAD EXAMIANS APP