C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 2 1 0 3 Garbage Value 2 1 0 3 ANSWER DOWNLOAD EXAMIANS APP
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;} 5 9 None of these 6 Error 5 9 None of these 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 55445 54554 54544 45545 55445 54554 54544 45545 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 215 216 – 1 216 None of these 215 – 1 215 216 – 1 216 None of these 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);} 12 14 13 11 Compilation error 12 14 13 11 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Equal None of these. Unequal Error Equal None of these. Unequal Error ANSWER DOWNLOAD EXAMIANS APP