What will be the output of this program? filter_none edit close play_arrow link brightness_4 code #include<iostream> using namespace std; int x; // Global x … Read More
Category Archives: Program Output
1) What is the output of the following program? filter_none edit close play_arrow link brightness_4 code public class Test implements Runnable { public void run()… Read More
Predict the output of following Java programs: Question 1 : filter_none edit close play_arrow link brightness_4 code public class Base { private int data; … Read More
Question 1 How many times main() will get called? filter_none edit close play_arrow link brightness_4 code main() { printf("\n main Called Again"); main(); } chevron_right… Read More
Prerequisite – Garbage Collection in Java Difficulty level : Intermediate In Java, object destruction is taken care by the Garbage Collector module and the objects… Read More
Question 1 filter_none edit close play_arrow link brightness_4 code #include<stdio.h> int main() { int i; for (i = 0; i<5; i++) { int i; i… Read More
Predict the output of the following programs: Program 1: filter_none edit close play_arrow link brightness_4 code def gfgFunction(): "Geeksforgeeks is cool website for boosting up… Read More
Difficulty level : Intermediate Predict the output of following Java Programs. Program 1: filter_none edit close play_arrow link brightness_4 code class Gfg { // constructor… Read More
Difficulty level : IntermediatePredict the output of following Java Programs.Program 1: Java filter_none edit close play_arrow link brightness_4 code class GfG { public static void… Read More
Difficulty level : Intermediate Predict the output of the following Python Programs. Program 1: filter_none edit close play_arrow link brightness_4 code nameList = ['Harsh', 'Pratik',… Read More
Difficulty level : Intermediate Predict the output of following Python Programs. Program 1: filter_none edit close play_arrow link brightness_4 code class Geeks: def __init__(self, id):… Read More
Difficulty level : Intermediate Predict the output of following Python Programs. Program 1: filter_none edit close play_arrow link brightness_4 code class Acc: def __init__(self, id):… Read More
Difficulty level : Intermediate Predict the output of following Java Programs. Program 1 : filter_none edit close play_arrow link brightness_4 code public class Calculator {… Read More
Difficulty level : Intermediate Predict the output of following Java Programs. Program 1: filter_none edit close play_arrow link brightness_4 code class First { public First()… Read More
Predict the output of following python programs: Program 1: filter_none edit close play_arrow link brightness_4 code r = lambda q: q * 2 s =… Read More