What Is the difference between these two codes

Revision en3, by siratahmed139, 2021-11-02 08:07:12

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??

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English siratahmed139 2021-11-02 08:07:12 8 Tiny change: 'r getting down vote' -> 'r getting so many down vote'
en2 English siratahmed139 2021-11-01 19:30:57 74
en1 English siratahmed139 2021-10-31 17:40:58 243 Initial revision (published)