#include <stdio.h> int main() {
int number1, number2, sum;
printf("Enter two integers: ");
scanf("%d %d", &number1, &number2);
sum = number1 + number2;
printf("%d + %d = %d", number1, number2, sum);
return 0;
}
**so this is my simple C code and it has only three variables only but when I'm debugging it in disassembly the value of eax is also copying in other 'variable looked' like r/m32 addresses, I can't figure out why it is doing this. It can't be compiler generated code because I've switched off those options.
And other question is why 0CCCCCCCCC is moving into eax. Thanks in advance. :)**