What will be the output when following program segment is executed?Choose the correct option from the given options.
char chr='A';
switch (chr)
{
case 'A': printf("A"); break;
case 'B': printf("B"); break;
case ‘C’: printf("C"); break;
}
(a) A
(b) B
(c) C
(d) Error
Anonymous:
bhai itne sare question ek saath
Answers
Answered by
6
the right answer is C
Answered by
1
Answer:
Correct answer is C
Explanation:
Similar questions
English,
7 months ago
Accountancy,
7 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
Chemistry,
1 year ago