Printing Text in Graphics Using Outtextxy Function

Program :

Explanation :

  • This Function is Similar to Printf Statement.
  • Printf Prints Text on Screen in “Text Mode” while outtextxy() function Prints Text onto Screen in “Graphics Mode“.
  • This Function Accepts 3 Parameters.

Syntax :

X_Co-ordinateSpecifies X Co-ordinate
Y_Co-ordinateSpecifies Y Co-ordinate
TextString/Text to be Printed On the Specified Co-ordinates