wherex


conio.h


/*
Write a program in C for wherex
*/

#include<stdio.h>
#include<conio.h>

main()
{
   int x;

   printf("Hello");

   x = wherex();

   printf("Horizontal cursor position from where this text appears = %d\n",x);

   getch();
   return 0;
}

Post a Comment

0 Comments