Write a C program to fill the entire screen with a smiling face. The smiling face has an ASCII value 1.
Menu
Turn Mobile View Off
by Dinesh Thakur

 

 

#include<stdio.h>

#include<conio.h>
 
void main()
{
int r,c;
clrscr();
for(r=0;r<=24;r++) //Fills rows 0 to 24
for(c=0;c<=79;c++) //Fills columns 0 to 79
printf("%c",1);
printf("\n press any key to exit");
getch();
}
Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology Motivation. Turn Mobile View Off