What is the difference between these two codes?? ==================cout<<pow(10,a-1)+pow(10,c-1)<<" "<<pow(10,b-1)
And int a;int b; a=pow(10,a-1)+pow(10,c-1); b=pow(10,b-1); cout<<a<<" "<<b
update :I am newbie,was this the reason for getting so many down votes??