C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 Garbage Value 5 6 None of these 0 Garbage Value 5 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values Error 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[][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]){} void fun(int *p[3][4]){} void fun(int *p[4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During linking None of these During Execution During Editing During Preprocessing During linking None of these During Execution During Editing During Preprocessing ANSWER DOWNLOAD EXAMIANS APP