Does c++ compiler optimize 0*x?

Viewed 1334

Does c++ compiler optimize 0*x? I mean does it convert to 0 or it actually does the multiplication?

Thanks

2 Answers
Related