int ivar = 100;
float fvar = 100.00f;
double dvar = 123;
is tested:
fvar = ivar; ok
ivar = fvar; no
fvar = dvar; no
dvar = fvar; ok
ivar = dvar; no
dvar = ivar; ok
We can't convert float to int && Double to float && Double to int. Basically we can't convert Bigger datatypes to smaller ones without some explicit type casting.
So Answer is 8, 9, 11 i.e. BCE
We can't convert larger data type into smaller data type without using explicit type casting.
Eg: float f=100.1f;
int i=f; //we can't do this
int x=(int) f; //explicit type casting we can do this
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
MPignaProTech
3 months agoTerry8420
1 year, 4 months agosomrita90
1 year, 4 months agoOmar_Deeb
1 year, 5 months agodsms
1 year, 5 months agoVicky_65
1 year, 9 months agospongecodes
1 year, 10 months agoodzio33
1 year, 12 months agoRAADEL3IMLAK
2 years agohaisaco
2 years agoakbiyik
2 years, 1 month agocarloswork
2 years, 2 months agoUAK94
2 years, 3 months agokkaayyyy
2 years, 3 months agoiSnover
2 years, 3 months agoJoker74
2 years, 4 months ago