This page provides a comprehensive collection of Previous Year Questions (PYQs) on Functions, Structures, and Unions in C Programming
compiled from engineering examinations conducted by autonomous colleges such as
JNTUH, CBIT, VASV and VCE.
The questions are organized in an exam-oriented manner to help students strengthen
their understanding of function concepts, structure definitions, and union usage,
making this page ideal for semester exams, viva preparation, and last-minute revision.
Year – 2024
- What is call by value? (CBIT–2023, VCE–2024) 2M
- Define recursion. (CBIT–2023, VCE–2024) 2M
- What is a function prototype? (JNTUH–Jan/Feb-2024) 1M
- Define the term function signature. (JNTUH–Jan/Feb-2024) 1M
-
Define functions. Describe the elements of function definition.
(CBIT–2023, VCE–2024)
5M
-
Explain call by reference with example.
(JNTUH–Jan/Feb-2024)
5M
-
Discuss any two categories of functions with respect to return type and number of arguments
with a sample program.
(CBIT–2023, VCE–2024)
5M
-
Write a program to find the factorial of a given number using function.
(CBIT–2023, VCE–2024)
5M
-
Define recursion. Write a C program to find the factorial of a given number using recursion.
(CBIT–2023, VCE–2024)
5M
-
Explain limitations of recursive functions.
(JNTUH–Mar/Apr-2023)
5M
-
Explain categories of user-defined functions.
(JNTUH–Mar/Apr-2023)
5M
-
Write a recursive function to calculate xn.
(VASAVI–2024)
5M
Year – 2023
- List any two advantages of functions. (VCE–2025) 2M
- What is recursion? (JNTUH–Mar/Apr-2023) 1M
- Explain about function signature. (JNTUH–Mar/Apr-2023) 1M
- What is recursion? (JNTUH–Sep-2023) 1M
- What is the signature of a function? (JNTUH–Sep-2023) 1M
-
Explain passing parameters to functions.
(JNTUH–Sep-2023)
10M
-
Write a program to find the maximum and minimum digit in a given number using user-defined
functions.
(VASAVI–2023)
5M
Year – 2022
-
Write a recursive C function to find the nth term in the Fibonacci series.
(CBIT–2022, VCE–2024)
5M
Year – 2025
-
Write a C program to read N student records (roll number, name and marks of six subjects)
and display average marks using array of structures.
(CBIT–2025)
5M
Year – 2024
-
Define union.
(CBIT–2023, VCE–2024)
2M
-
Differentiate between structure and union.
(CBIT–2023, VCE–2024, VASAVI–2024)
5M
-
Explain pointers in self-referential structures.
(JNTUH–Jan/Feb-2024)
4M
-
Define array of structures with an example.
(CBIT–2023, VCE–2024)
5M
-
Explain arrays of structures with suitable examples.
(CBIT–2023, VCE–2024)
5M
-
Write a C program to read and print book details such as book name, author,
book ID and price using structures.
(CBIT–2023, VCE–2024)
5M
-
Define a union named Data that can store an integer, a float and a character.
(VCE–2024)
3M
-
What is a nested structure? How are its members accessed?
(VASAVI–2024)
5M
Year – 2023
-
Explain union and structure differences.
(JNTUH–Sep-2023)
5M
-
Write a program to find factorial using recursion.
(JNTUH–Mar/Apr-2023)
5M
-
Write a program on structure bit fields.
(JNTUH–Mar/Apr-2023)
5M
-
Write a program to store and manage product information using structures in C.
(VASAVI–2023)
5M