C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error 10 Infinite loop 0123456789 0 Syntax error 10 Infinite loop 0123456789 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? Theoratically no limit. The only practical limits are memory size and compilers. 8 2 20 50 Theoratically no limit. The only practical limits are memory size and compilers. 8 2 20 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with An alphabet A special symbol other than underscore A number Both of the above An alphabet A special symbol other than underscore A number Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP345 Compiler Error None of These 12PP 12PP345 Compiler Error None of These 12PP ANSWER DOWNLOAD EXAMIANS APP