C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 4 Runtime error Syntax error 4 5 6 7 1 2 3 4 4 Runtime error Syntax error 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value call by reference None of these. call by value result call by value call by reference None of these. call by value result 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 Error Unequal None of these. Equal Error Unequal None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=3 d=3 c=5 d=3 c=3 d=5 c=5 d=5 c=3 d=3 c=5 d=3 c=3 d=5 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 000 444 433 333 Garbage Value 000 444 433 333 Garbage Value ANSWER DOWNLOAD EXAMIANS APP