What happens if you try to compile and run this program?
Exams Prep
What happens if you try to compile and run this program?
#include <stdio.h>
int main (int argc, char *argv[]) {
int i = ‘A’ – ‘B’;
int j = ‘b’ – ‘a’;
printf("%d",i / j);
return 0;
}
Choose the right answer:
A . Execution fails
B . Compilation fails
C . The program outputs 1
D . The program outputs -1
E . The program outputs 0
Answer: D
Latest CLA-11-03 Dumps Valid Version with 40 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments