C Programming C preprocessor All of these Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation All of these Takes care of macros Acts before compilation Takes care of include files Takes care of conditional compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement has # as the first character need not start on the first column need not start on a new line comes before the first executable statement has # as the first character need not start on the first column need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} 65474, 65476 65480, 65488 None of these 65480, 65496 65474, 65488 65474, 65476 65480, 65488 None of these 65480, 65496 65474, 65488 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=5 c=3 d=5 c=5 d=3 c=3 d=3 c=5 d=5 c=3 d=5 c=5 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff3 fff0 fff1 fff4 fff2 fff3 fff0 fff1 fff4 ANSWER DOWNLOAD EXAMIANS APP