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[][4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} None of these void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[3][4]){} None of these void fun(int *p[4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 Compiler Error 50 None of These 10 Compiler Error 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 ASCII value of the input read. The number of successful read input values. 1 The actual values read for each argument. 0 ASCII value of the input read. The number of successful read input values. 1 The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 0 1 2 2 None of these 1 1 2 3 0 1 2 3 1 1 2 2 0 1 2 2 None of these 1 1 2 3 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Complier error Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP