Home / MCQ Bank / Computer
Computer Control Structures Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> int main() { int x = 97; switch (x) { case 'a': printf("yes "); break; case 97: printf("no\n"); break; } }

Select the correct option to test your answer:

More Computer Questions

Gif and jpg are the two main types of what ? What will be the output of the following Java program? class X { int a; double b; } class Y extends X { int c; } class Output { public static void main(String args[]) { X a = new X(); Y b = new Y(); Class obj; obj = b.getClass(); System.out.print(b.equals(a)); } } What is the correct syntax for declaring an array of 5 integers in C++? When does the next sequence point start? When the minimum number of instances of an entity is one, you know which of the following?