C Programming What is right way to Initialize array? 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 }; int n{6} = { 2, 4, 12 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 0, 2 2, 4 4, 4 2, 2 2, 0 0, 2 2, 4 4, 4 2, 2 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 complier error -1 1 1 -1 -1 1 -1 1 complier error -1 1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strnset() strrchr() strstr() strchr() None of these strnset() strrchr() strstr() strchr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? The operand can come before or after the operator It associates from the right It cannot be applied to an expression All of these It is a unary operator The operand can come before or after the operator It associates from the right It cannot be applied to an expression All of these It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0289 713 1289 0713 Syntax error 0289 713 1289 0713 Syntax error ANSWER DOWNLOAD EXAMIANS APP