Which of the following two statements are valid? Why? 1. x=1,024 2. x=(1, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which of the following two statements are valid? Why? 1. x=1,024 2. x=(1,

Yes the question is absolutely right. The answer is the second one, but why?? Can somebody pleeeeeeaase help me with this question..

29th Sep 2016, 7:20 AM
Devansh Kaushik
Devansh Kaushik - avatar
1 Answer
0
you need specify what type you will use, int double, float, becouse without this, you will lost precision on your variable
22nd Oct 2016, 4:13 PM
Neo
Neo - avatar