Q75
What happens if the following program is executed in C and C++? #include int main(void) int new = 5; printf("%d", new);
A.
Error in both C and C++
B.
A successful run in both C and C++
C.
Error in C and successful execution in C++
D.
Error in C++ and successful execution in C
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board