Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
     switch(5/2*6+3.0){
        case 3:printf("David Beckham");
             break;
        case 15:printf("Ronaldinho");
             break;
        case 0:printf("Lionel Messi");
             break;
        default:printf("Ronaldo");
     }  
}
Choose all that apply: 

A David Beckham 

B Ronaldinho 

C Lionel Messi 

D Ronaldo 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 1547

Copyright © 2024. Powered by Intellect Software Ltd