IMPORTANT QUESTIONS
1. Explain the structure of C program in detail. Write a sample program to
demonstrate the components in the structure of C program.
2. Develop an algorithm to find the Area and Perimeter of a circle.
3. Draw a flowchart and C program which takes as input p,t,r. Compute the simple
interest and display the result.
4. Develop a simple calculator program in C language to do simple operations like
addition, subtraction, multiplication and division. Use switch statement in your
program.
5. Explain with syntax, if and if-else statements in C program.
6 . Explain anyFIVEtypes of operators in C languagewith the illustrative
examples.
7 . Write a C program to find the roots of quadratic equation by accepting the
co-efficients.
8. Explain the working of goto statement in C with example.
9. Explain switch statement with syntax and example.
1 0. What is variable? What are the rules to construct variable? Classify the
following as valid/invalid Identifiers. i) num2 ii) $num1 iii) +add iv) a_2 v)
199_space vi) _apple vii)#12
11. Write a C program to print whether a given number is palindrome or not.
12. Explain switch statement with syntax. Write a C program to simulate calculator.