Self Destruct program in C

I have a program in which it asks user something and i store it in a variable, i want to destruct the .exe file that the person i using if that variable doesn’t match some if condition in C PROGRAMMING LANGUAGE.

Thanks in advance Daksh

what do you mean by destruct .exe file?

If you mean to say you wanna delete the .exe file… then use file handling to remove or delete a file…