Important Questions [22]
- Write a Program to Implement Calculator with Following Operations Using Switch Case 1. Add Two Numbers 2. Subtract Two Numbers
- Explain Switch Case and If-else Ladder with Example.
- P Write a Program to Find Transpose of Matrix Without Making Use of Another Matrix.
- Define Structure Consisting of Following Elements 1. Student Roll_No 2. Student Name 3. Student Percentage Write a Program to Read Records of 5 Students of and Display Same.
- Explain Continue and Break Statements with the Help of Suitable Examples.
- Write a Program to Validate Whether Accepted String is Palindrome Or Not.
- State True Or False with Reason.While(0); is an Infinite Loop.
- Wap to Print the Sum of Following Series.1+22+33+………+Nn
- Write a Program to Perform Matrix Multiplication by Passing Input Matrix to the Function and Printing Resultant Matrix.
- Write a Program to Display Following Pattern: 1 232 34543 4567654 567898765
- Wap to Print All Possible Combination of 1,2,3 Using Nested Loops.
- Write a Program for Finding Sum of Series 1+2+3+4+…….Upto N Terms.
- P Write the Output of Following Code: #Include<Stdio.H> Int Main() { Int Val = 1; Do{ Val++; ++Val; }While(Val++>25); Printf(“%D\N”,Val); Return 0; }
- Compare the Followingif-else and Switch Statements
- Write a Program to Print Following Patterns for N Lines. 5 4 3 2 * 5 4 3 * 1 5 4 * 2 1 5 * 3 2 1 * 4 3 2 1
- Write a Program to Generate Following Patterns. 1 2 3 3 4 5 6 7 8 9
- Write a Program to Generate Following Patterns. 1. 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
- Explain Break and Continue Statement with Example.
- Write a Programs to Print Following Patterns for N Lines. 5 5 4 5 4 3 5 4 3 2 5 4 3 2 1
- Explain Nested Structure. Write a Program Using Nested Structure to Create an Array of Structure to Store the Details of N Students.
- An Electronic Component Vendor Supplies Three Products: Transistors, Resistors and Capacitors. the Vendor Gives a Discount of 10% on
- Compare the Followingbreak and Continue Statements
