C Programming Question Bank For Engg Diploma
C Programming Question Bank For Engg Diploma
C Programming Question Bank For Engg Diploma
Define Algorithm
Basic Maths
Develop a simple ‘C’ program for addition and multiplication of two integer numbers.
Write a program to accept the value of year as input from the keyboard & print whether
it is a leap year or not.
Write a program using switch statement to check whether entered character is VOWEL
or CONSONANT
For loop
While loop
Write algorithm and draw flow-chart to print even numbers from 1 to 100.
Do while loop
Draw a flowchart of Do-while loop and write a program to add numbers until user
enters zero.
Arrays
Define Array
Write a program to accept marks of four subjects as input from user. Calculate and
display total and percentage marks of student.
Functions
If the value of a number (N) is entered through keyboard. Write a program using
recursion to calculate and display factorial of number (N).
Develop a program to find diameter, circumference and area of circle using function.
-Pointers
Develop a program to swap two numbers using pointer and add swaped numbers also
print their addition.
Write a program to accept two numbers from user and perform addition, subtraction,
multiplication and division operations using pointer.
Structure
Develop a program using structure to print data of three students having data members
name, class, percentage.
Give a method to create, declare and initialize structure also develop a program to
demonstrate nested structure.
Write a program to declare structure employee having data member name, age, street
and city. Accept data for two employees and display it.