For the below 3 cases which a+b; operation takes more time? 1)int a,b; 2)float a,b; 3)int a;float b;
Tamilmaran R
int a,float b;
int a,b; in this case both variables are integer type so less time to take a+b float a,b; this is also with similar data types so answer take less time int a; float b ; these two variables are different type so it takes more time to a+b.