Question: What is the output of the following code? #include void main() { int marks = 80; char grade; switch (marks) } case 80: grade
What is the output of the following code? #include void main() { int marks = 80; char grade; switch (marks) } case 80: grade = 'A'; case 70: grade } 'B'; case 60: grade 'C'; default: grade = 'D'; printf("%", grade); P Answer:
Step by Step Solution
3.30 Rating (159 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
