if(a==0)和if(0==a)这两种写法具体有什么不同吗
如题求细节
0040B782 |. 83C4 04 add esp, 4 0040B785 |. C745 FC 0A000>mov dword ptr [ebp-4], 0A 0040B78C |. 837D FC 00 cmp dword ptr [ebp-4], 0 0040B790 |. 75 0D jnz short 0040B79F 0040B792 |. 68 30004200 push 00420030 ; /format = "-----------------" 0040B797 |. E8 D458FFFF call printf ; \printf 0040B79C |. 83C4 04 add esp, 4 0040B79F |> 837D FC 00 cmp dword ptr [ebp-4], 0 0040B7A3 |. 75 0D jnz short 0040B7B2 0040B7A5 |. 68 1C004200 push 0042001C ; /format = "*****************" 0040B7AA |. E8 C158FFFF call printf ; \printfint a=10; int a=10; if(a==0){ printf("-----------------"); }; if(0==a){ printf("*****************"); };