If I write the following program, then there is no beep sound on running the code.
#include int main() { printf(\"\\a\"); return 0;
i usually use another way to get the beep sound it works 100% on windows 7.
int x=7; //7 is beep sound other numbers may show emoji and characters printf("%c",x);