What will be the output of the following C code?
#include <stdio.h>
int main()
{
int ThislsVariableName = 12;
int ThislsVariablename = 14;
printf("%d", ThisIsVariablename);
return 0;
}
O a. The program will have a runtime error
O b. The program will print 12
O c. The program will cause a compile-time error due to redeclaration
O d. The program will print 14
Answers
Answered by
0
Explanation:
int ThislsVariableName = 12;
int ThislsVariablename = 14;
printf("%d", ThisIsVariablename);
return 0;
}
O a. The program will have a runtime error
O b. The program will print 12
O c. The program will cause a compile-time error due to redeclaration
O d. The program will print
Similar questions