Vidyalelo
C Programming · Q38

Standard Library Functions

Programming · C Programming · question 38

Q38

What will be the output of the following C code? #include #include #include void -Assert (char *mesg) fputs (mesg, stderr); fputs (" -- assertion failed " , stderr); abort () ;

A.
prints only assertion message
B.
program is just aborted
C.
prints assertion message and aborts
Answer
D.
no action takes place

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board