C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 50, 13, 24, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1 2, 4 None of these 2, 3 1, 4 1 2, 4 None of these 2, 3 1, 4 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);} 3 8 8 3 3 7 None of these 7 3 3 8 8 3 3 7 None of these 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck ow et te ck ow et te ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello Some address will be printed H None of these. Hello Some address will be printed H None of these. ANSWER DOWNLOAD EXAMIANS APP