nosound function turn off the PC speaker.
Declaration : void nosound();
#include<dos.h> main() { sound(400); delay(1000); nosound(); return 0; }