gety


/*
Write a program in C for gety
*/
 
#include<graphics.h>
#include<conio.h>

main()
{
int gd = DETECT, gm, y;
 

char array[100];

initgraph(&gd, &gm, "C:\\TC\\BIN");

y = gety();

sprintf(array, "Current position of y = %d", y);

outtext(array);

getch();
 

closegraph();
 

return 0;
}

Post a Comment

0 Comments