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.