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 Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression All of these It associates from the right The operand can come before or after the operator It is a unary operator It cannot be applied to an expression All of these It associates from the right The operand can come before or after the operator It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main register case default auto main register case default auto ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } haasi None of these hai absiha asiha haasi None of these hai absiha asiha ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP