C Programming What is right way to Initialize array? 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 }; 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 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 5 9 None of these 6 Error 5 9 None of these 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[3][4]){} void fun(int *p[4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These Compiler Error sizeof(i)=2 sizeof(i)=1 None of These Compiler Error sizeof(i)=2 sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 3 4 10 5 4 4 10 5 5 5 10 5 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 1 ASCII value of the input read. The actual values read for each argument. The number of successful read input values. 0 1 ASCII value of the input read. The actual values read for each argument. The number of successful read input values. 0 ANSWER DOWNLOAD EXAMIANS APP