Question: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; }
A Assertion 'n > 3' failed; Program aborts at statement 1
B Assertion 'n > 7' failed; Program aborts at statement 2
C Program returns 0 with the value of n as 7
D Compilation Error
E None
+ AnswerB
+ Report