#include <stdio.h>
#include <conio.h>
#include <stdarg.h>
void PrintfXY(int x, int y, const char *format, ...)
{
va_list argptr;
gotoxy(x, y);
va_start(argptr, format);
vprintf(format, argptr);
va_end(argptr);
}
void main()
{
PrintfXY(10, 10, "%s %d", "Teste", 1);
getch();
}