I guess the thread will be soon on hold (“off topic”), so let me show quickly the corrected code:
#include<stdio.h>
int main (void)
{
char y = 10;
char* format = "%d";
__asm
{
movzx eax, y
add eax,1
push eax
push format
call printf
add esp, 8
}
return 0;
}
1
solved error c2400 found new line