Basic and Advance C Question:
Download Questions PDF

How can I send mail from within a C program?

Answer:

Under Unix, open a pipe to the mail program, or perhaps /usr/lib/sendmail.

Download C Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How can I check whether a file exists? I want to warn the user if a requested input file is missing.How can I do graphics in C?