C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value hi h Garbage Value Error hi followed by garbage value hi h Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value 6 3 Error Garbage value 6 3 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello Hello World World WorldHello None of these Hello Hello World World WorldHello None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 110 10 -110 -10 450 110 10 -110 -10 450 ANSWER DOWNLOAD EXAMIANS APP
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);} 11 13 14 Compilation error 12 11 13 14 Compilation error 12 ANSWER DOWNLOAD EXAMIANS APP