wherey in c

wherey function return current vertical cursor position.

Declaration :- int wherey();

C programming code for wherey
#include<stdio.h>
#include<conio.h>

main()
{
   int y;

   printf("Hello\n");

   y = wherey();

   printf("Vertical cursor position from where this text appears = %d",y);

   getch();
   return 0;
}

Comments

Popular posts from this blog

Operators And Separators In C Language Operators in C Language:

Difference between asterisk and ampersand operators in c