This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 multiplication

Dear Erik!

What do I have to do recieve a 32-bit result if I multiply 2 16-bit variables?
For example:
unsigned int a;
unsigned int b;
unsigned long c;

c = a * b; Why I have 16-bit result?

Parents Reply Children
No data