Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    switch(6){
        case 6.0f:printf("Sangakkara");
               break;
        case 6.0: printf("Sehwag");
               break;
        case 6.0L:printf("Steyn");
               break;
        default:  printf("Smith");
    } 
}
Choose all that apply: 

A Sangakkara 

B Sehwag 

C Steyn 

D Smith 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 1203

Copyright © 2024. Powered by Intellect Software Ltd