11 Oct 2019

  • October 11, 2019
  • Amitraj
C program to ring a bell:-




#include<stdio.h>
int main()
{
  //following printf will ring a beep sound 3 times.

  printf("\a \a \a");
           
  //Note: Here \a stands for Alert
  //Each \a will ring a one beep sound

  return 0;         
}


Translate

Popular Posts