Program in C to print * at place of password
//********************************************************
//
// Prepared By : Ashutosh singh
//
//********************************************************
#include<stdio.h>
#include<conio.h>
void main()
{
char pass[7];
int i ;
printf("\nEnter Password : ");
i=0;
while(i<7)
{
pass[i]=getch();
printf(" * ");
}
getch();
}
//********************************************************
//
// Prepared By : Ashutosh singh
//
//********************************************************
#include<stdio.h>
#include<conio.h>
//
// Prepared By : Ashutosh singh
//
//********************************************************
#include<stdio.h>
#include<conio.h>
void main()
{
char pass[7];
int i ;
printf("\nEnter Password : ");
i=0;
while(i<7)
{
pass[i]=getch();
printf(" * ");
}
getch();
}
No comments:
Post a Comment