Write a program to fill the entire screen of a computer by a smiling face. The smiling face has an ASCII value 1

 

#include<stdio.h>
#include<conio.h>
void main()
{
    int i;
    char ch=1; //ASCII value for smiling face is 1
    for(i=0;i<5000;i++)
    {
        printf("%c", ch);
    }
    getch();
}







Comments