Home / MCQ Bank / Computer
Computer Miscellaneous Difficulty: Medium

Determine Output: void main() { int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; } } fun() { here: printf("PP"); }

Select the correct option to test your answer:

More Computer Questions

What happens if the base condition isn't defined in recursive programs? Consider the usual algorithm for determining whether a sequence of parentheses is balanced. The maximum number of parentheses that appear on the stack AT ANY ONE TIME when the algorithm analyzes: (()(())(()))? What will be the output of the following C code? #include<stdio.h> #define INDIA 1 #define US 2 #define CC US main() { #if CC==INDIA printf("Rupee"); #elif CC==US printf("Dollar"); #else printf("Euro"); #endif } Which of these keywords are used to define an abstract class? What is the primary goal of using multi-threading in C++ programs?