Program to print string using outtext function

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{
  clrscr();
  int gm=DETECT,gd,i;
initgraph(&gm,&gd,"");
outtext("\n  WELCOME TO GRAPHICS IN YOUR PIC");
 getch();
}

Leave a Reply