Why does string before \v escape character at the end show that there is a virus in the file?

76 Views Asked by At
#include<stdio.h>
void main(){
    printf("h\a");
    printf("h2\v");
}

I have no idea why this is happening and I am using the DevC++ compiler of Bloodshed.inc

Please explain the logic and reason behind this.

I tried to get a normal execution of escape characters. I was expecting to execute the statement to give a bell sound and print a vertical tab. But my anti-virus software detected a virus and the terminal showed:

--------------------------------
Failed to execute "C:\Users\123445678\OneDrive\Desktop\File\h.exe":
Error 225: Operation did not complete successfully because the file contains a virus or potentially unwanted software.

Press any key to continue . . .
1

There are 1 best solutions below

1
Allan Wind On

Your anti-virus software is reporting a false positive.