Consider the following C program. What is the value of a?
#include<stdio.h>
int maino
{
int 9-7. b-5;
switona = a % b)
{
case 1:
a - a - bi
a = a + b
a ab:
00
Answers
Answered by
8
This section on C interview questions and answers focuses on “Switch Statements”. One shall practice these interview questions to improve their C programming skills needed for various interviews (campus interviews, walkin interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C Programming language. They can be a beginner, fresher, engineering graduate or an experienced IT professional. Our C Interview questions come with detailed explanation of the answers which helps in better understanding of C concepts.
Here is a listing of C interview questions on “Switch Statements” along with answers,
Similar questions