Home / MCQ Bank / Computer
Computer Control Structures

What will be the output of the given program? #include<stdio.h> void main() { float num=5.6; switch(num){ case 5:printf("5"); case 6:printf("6"); default : printf("0"); break; } printf("%d", num); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • Complier error

Related Computer Questions

What specifies the speed curve of transition effect? What is the purpose of the AsQueryable operator in LINQ? ______ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on. Which tag will you add to specify a font for your whole page ? 1. <defaultfont> 2. <targetfont> 3. <basefont> 4. <font> How many except statements can a try-except block have?