Home / Questions / What are the default values of the primitive data type int and float?
Explanatory Question

What are the default values of the primitive data type int and float?

👁 88 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Default value of int is 0 and float is 0.0f.