#include <iostream>
using namespace std;
int main()
{
// Do Not Edit Here
short a = 1000;
int b = 10000;
long double c = 5.560000505012;
// Change ??? To Something Else To Get The Output
cout << sizeof(c) - sizeof(b) << "n"; // 12 ===> Tmam
cout << sizeof(c) + sizeof(b) << "n"; // 20 ===> Tmam
cout << sizeof(a) * sizeof(c) << "n"; // 32 ===> Tmam
cout << a * (int)c << "n"; // 5000
cout << char( sizeof(c) * int(c) ) << “n”; /* sizeof(c) is 16 in every line execpt last line it is 10 why*
}
New contributor
PArika_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.