Basic and Advance C Question:

Download Job Interview Questions and Answers PDF

How can I send mail from within a C program?

C Programming Interview Question
C Programming Interview Question

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?