


Master your MCA entrance preparation with over 17 years of solved PYQs from NIMCET, CUET PG, and top universities. Get detailed step-by-step solutions and expert insights—all 100% free.
Don't just practice questions—simulate the real exam. Browse our interactive Full Year-wise Question Papers to build your speed and accuracy.
Browse Full Papers →Jump directly into topic-wise PYQs with exam details — marks, time, and negative marking.
What is the output of the following C++ code
#include <iostream>
using namespace std;
class Base {
public:
virtual void show() { cout << "Base"; }
};
class Derived : public Base {
public:
void show() override { cout << "Derived"; }
};
int main() {
Base* ptr;
Derived d;
ptr = &d;
ptr->show();
return 0;
}
What happens when a recursive function in C lacks a proper base condition?
What will be the output of the following program?
#include <stdio.h>
#include <string.h>
int main() {
char str1[20] = "Hello";
char str2[20] = "Hello";
strcpy(str2, str1);
if (strcmp(str1, str2) 0)
printf("Equal\n");
else
printf("Not Equal\n");
return 0;
}
What will be the output of the following code snippet?
#include <stdio.h>
int main() {
float x = 5;
if (x > 10)
printf("Greater");
else if (x = 10)
printf("Equal");
else
printf("Smaller");
return 0;
}
Which of the following statements about structures and unions in C is true?
Read the following statements about functions in C and choose the correct option:
(i) A function in C can return only one value directly.
(ii) Function names can be the same as variable names in the same scope.
(iii) A function must always take at least one argument.
(iv) Recursion is allowed in C functions.
What will be the output of the following C code?
#include <stdio.h>
int main() {
int a 10:
int p &a
printf("%d\n", *p);
return 0;
}
What is the range of unsigned int in C?
What will be the output of the following code snippet?
#include <stdio.h>
int main() {
int i;
for (i = 1; i <= 5; i++) {
if (i == i)
continue;
printf("%d", i);
}
return 0;
}
Yes. We continuously update question tags and solutions to reflect the latest pattern and syllabus.
All listed questions include detailed step-by-step solutions, and many also include short video explanations.
Use the filters for exam and subject, and the search box for topics, keywords, or formula names.
No, Mathem Solvex Offers you everything for free, you do not need to pay anything for question bank You will get NIMCET and CUET PYQ and all the information for free.