MAH CET MCA C Programming Language Previous Year Questions (PYQs)

MAH CET MCA C Programming Language Previous Year Questions (PYQs)

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations
Reset
Showing 9 questions
logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

What is the purpose of the 'break' statement in C?

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

______ are used to compare two quantities and, depending on their relation, take certain decisions for that comparison.

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

What will be the output of the following C code?

 #include<stdio.h>  
 int main() 
{     
int x = 10, y = 20;     
int z = x;    
x = y;    
y = z;     
printf("%d %d", x, y);     
return 0; 
 }

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

What is the output of the below program? 
int main() 
{     
int a, b, sum;     
sum = 0;     
for (a = 0; a < 5; a++) 
{         
for (b = 0; b < 5; b++) 
{             
sum++;         
}    
}     
printf("%d", sum);     
return 0; 
 }


1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

What is the correct syntax for declaring a variable in C?

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

What will be the value of x so that "Kavita" will be printed? 
 main() 
{     
int x;     
if (x > 4) 
printf("Manisha");     
else 
printf("Kavita"); 
 }

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2024📚 Computer🏷 C Programming Language

Library function getch() belongs to which header file in C language?

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2025📚 Computer🏷 C Programming Language

Which of the following is a correct way to declare a variable in C?

1
2
3
4

logo
🎓 MAH CET MCA📅 Year: 2025📚 Computer🏷 C Programming Language

#include <stdio.h>
int main() {
    printf("%d", 5 + 3 * 2);
    return 0;
}

1
2
3
4

MAH CET MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

MAH CET MCA


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...