Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    unsigned char c=280;
    switch(c){
        printf("Start\t");
        case 280:printf("David Beckham\t");
        case 24: printf("Ronaldinho\t");
        default:  printf("Ronaldo\t");
        printf("End");
    }
}
Choose all that apply: 

A Start David Beckham Ronaldinho Ronaldo End 

B Start David Beckham Ronaldinho Ronaldo 

C Start Ronaldinho Ronaldo End 

D Ronaldinho Ronaldo End 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 1214

Copyright © 2024. Powered by Intellect Software Ltd