C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Local variables R-values Members of a structure Arithmetic expressions Both of the above Local variables R-values Members of a structure Arithmetic expressions ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 4, 4 0, 2 2, 2 2, 0 2, 4 4, 4 0, 2 2, 2 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 6 6 12 7 11 6 5 6 6 7 6 6 12 7 11 6 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 2 a[0] = 3 Compilation error a[1] = 3 a[0] = 2 a[1] = 2 a[0] = 3 Compilation error a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP