Your question is to print a string without :
1> including "stdio.h" header file
2> Not using printf function
: If stdio.h is not included, then printf( ) cannot be used.
If the above stated requirement is correct, then you can use 'write' function to print string.
#include "unistd.h" /* Please use < > instead of " " */
int main( )
{
write(1, "Query Home", 10);
return 0;
}
write( ) -> Takes 3 argument:
1> The File Descriptor
2> The String to be printed (Buffer)
3> Size of the buffer (Count)
For more information, refer man pages
=> man 2 write