WB JECA MCA C Programming Language Previous Year Questions (PYQs) – Page 1 of 4

WB JECA MCA C Programming Language Previous Year Questions (PYQs) – Page 1 of 4

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations
Reset
Showing 39 questions
logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What will be output of the following code snippet? 
#include int main() 
{ 
float x = 5; 
if(x > 10) 
printf("Greater"); 
else if(x = 10) 
printf("Equal"); 
else 
printf("Smaller"); 
return 0; 
}

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What will be output of the following code snippet? 
#include int main() 
{ 
int i; 
for (i=1;i<=5;i++) 
{ 
if(i == i) 
continue; 
printf("%d ", i); 
} 
return 0; 
}

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

Which of the following statements about arrays in C is correct?

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

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.

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What happens when a recursive function in C lacks a proper base condition?

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What will be the output of the following C code? 
#include int main() 
{ 
int a = 10; 
int *p = &a; 
printf("%d ", *p); 
return 0; 
}

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

Which of the following statements about structures and unions in C is true?

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What will be the output of the following program? 
#include int main() 
{ 
char str1[20] = "Hello "; 
char str2[20] = "Hello"; 
strcpy(str2, str1); 
if (strcmp(str1, str2) == 0) 
printf("Equal "); 
else 
printf("Not Equal "); 
return 0; 
}

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What is the range of unsigned int in C?

1
2
3
4

logo
🎓 WB JECA MCA📅 Year: 2025📚 Computer🏷 C Programming Language

What will be the output of the following C program? 
#include int recur(int n) 
{ 
if(n == 0) 
return 0; 
else 
return n + recur(n - 1); } 
int main() 
{ 
int result = recur(4); 
printf("%d ", result); 
return 0; 
}

1
2
3
4

WB JECA MCA


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

Click Here to
View More

WB JECA MCA


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

Click Here to
View More

Ask Your Question or Put Your Review.

loading...