#include <stdio.h>
int main(void)
{
int new = 5;
printf("%d", new);
}
a) Error in C and successful execution in C++
b) Error in both C and C++
c) Error in C++ and successful execution in C
d) A successful run in both C and C++
What happens if the following program is executed in C and C++?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What happens if the following program is executed in C and C++?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!