C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 12 13 14 11 Compilation error 12 13 14 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error None of these. will print Hello World will print garbage value Compilation Error None of these. will print Hello World will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int (*p) (char *)[] None of these. int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] None of these. int *p(char *)[] int(*p(char *))[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error Garbage Value 6 5 Compiler Error Garbage Value 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 8 3 3 8 7 3 3 7 None of these 8 3 3 8 7 3 3 7 None of these ANSWER DOWNLOAD EXAMIANS APP