I came across an interview process and i couldn able to answer few of their questions. But i want to enlighten myself with the answers of the questions.. plz help me with the answers to those questions. .. . .
1 . Program to truncate a given floating point value (e.g.16.25=16). You should not assign the float value to integer & then copy the int value to float….
2 . Program to find the position of decimal point in a given floating point value.
3. Program to swap two numbers without using assignment operator in any part of the program.
i answered others questions ... but found it confusing