Ask Question
21 January, 05:32

What are the advantages and disadvantage of integers and floating numbers?

+3
Answers (1)
  1. 21 January, 06:14
    0
    Advantages of int and disadvantages of float are as following : -

    1. Arithmetic operation on int variables are much faster than float variables.

    2. int variables does not suffer from precision loss while float variable sometimes suffer from it.

    Advantages of float variables and disadvantages of int variables are as following:

    1. float variables can represent values between integers. While integers cannot do that.

    2. Float can represent much greater range of values than integers.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What are the advantages and disadvantage of integers and floating numbers? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers