textbackground in c
textbackground function is used to change of current background color in text mode. See available colors.
Declaration : void textbackground(int color);
C programming code for textbackground
#include<stdio.h>
#include<conio.h>
main()
{
textbackground(RED);
cprintf("C program to change background color.");
getch();
return 0;
}
Comments
Post a Comment