Buffer Overflow vulnerable code in C

Hello everyone

I need a simple code vulnerable to buffer overflow , and how to compile it with visual studio without any protection such as ASLR …etc
I need it for demonstrate a buffer overflow vulnerability

thank you

Please refer to the Code of Conduct and look at other posts on this site to see what is appropriate here.