C Programming What is right way to Initialize array? int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 0.000000 Error None of these. 10 0.000000 Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 1 2 1 2 2 1 2 1 1 2 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } hai absiha asiha None of these haasi hai absiha asiha None of these haasi ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Compiler Error 20 Linker Error 2 Compiler Error 20 Linker Error ANSWER DOWNLOAD EXAMIANS APP