Ask Question
26 August, 08:32

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

+3
Answers (1)
  1. 26 August, 11:08
    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?
Find an answer to your question ✅ “What are the advantages and disadvantage of integers and floating numbers? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers