how will we represent -1.23 what will be its datatype? float? but float does have signed and unsigned data modifiers
Doubt regarding data type
we represent them using float/ double. In float/ double we don’t have signed and unsigned data modifiers.
So which datatype is used?
float or double any can be used.
int main()
{
float t=-1.23
cout<<t;
}
output :
-1.23
You can verify above code.
if (still doubt )
post_doubt()
else
hit_like()
Cheers