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]){} None of these void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} 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 None of these. Error 0.000000 10 None of these. Error 0.000000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 10 Garbage Value None of These 1 10 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EDA y=AMVEDA y=MVEDA y=VEDA y=EXAMIANS y=EDA y=AMVEDA y=MVEDA y=VEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() laststr() strstr() strrchr() None of these strnstr() laststr() strstr() strrchr() None of these ANSWER DOWNLOAD EXAMIANS APP