TCS Company Programming

Which of the fplowing statements should be used to obtain a remainder after
dividing 3.14 by 2.1?
1.rem = 3.14 % 2.1;
2.rem = modf(3.14, 2.1);
3.rem = fmod(3.14, 2.1);
4.Remainder cannot be obtain in floating point division.

Read Solution (Total 3)

TCS Other Question

Are the expressions arr and &arr same for an array of 10 integers?
A.Yes
B.No
What are the types of pnkages?
1.Internal and External
2.External, Internal and None
3.External and None
4.Internal