You are here

Function nosound in C

Function nosound turn off the PC speaker.

Declaration: void nosound();

C programming code for nosound

#include <dos.h>

int main()
{
   sound(400);
   delay(1000);
   nosound();

   return 0;
}

Share this