Q. What happens if the following program is executed in C and C++?
Code:#include <stdio.h>
int main(void)
{
int new = 5;
printf("%d", new);
}
β
Correct Answer: (C)
Error in both C and C++
#include <stdio.h>
int main(void)
{
int new = 5;
printf("%d", new);
}
You must be Logged in to update hint/solution