Question: What is the problem with the following section of code? int a = 1 2 ; float b = 1 6 ; char c =
What is the problem with the following section of code?
int ;
float ;
char ;
int ans ;
;
ans ;
else
ans ;
a variable is declared incorrectly
you cannot add a float and an int
brackets is missing
semicolons is missing
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
