0

Why answer is 2??

Doubt in c regarding sizeof operator. https://code.sololearn.com/c41dLr8wVwd1/?ref=app

28th Aug 2020, 5:49 PM
Gujjula Pradeep Reddy
Gujjula Pradeep Reddy - avatar
1 Resposta
+ 6
The literal 10.5 creates a double. Double has a different size than float.
28th Aug 2020, 6:05 PM
HonFu
HonFu - avatar