What will be the output of the following program?
#include <assert.h>
main()
{
int n = 5;
assert(n > 3); //statement 1
n = n+2;
assert(n > 7);//statement 2
return 0;
}
Correct Answer: Assertion 'n > 7' failed; Program aborts at statement 2
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C Programming MCQ Questions