Passward into asterisk using C language ||easy tutorial
Passward into asterisk using C language ||easy tutorial
given code :https://www.mediafire.com/file/grhntb81y0jlfwh/PASSWARD%20INTO%20ASTERISK.cpp
#define ENTER 15
#include<conio.h>
int main()
{ int i;
char d;
char ar[10];
printf("enter your passward");
for(i=0;i<10;i++)
{
d=getch();
if(d==15)
{ d='\0';
break;
}
ar[i]=d;
d='*';
putchar(d);
}
printf("%s",ar);
}
Comments
Post a Comment