Skip to main content

C programming important question

 

Important Questiont

Loops

 

Theory

1.    What are the different looping constructs in C? Discuss   

2.    Differentiate between while and do-while loops.

3.    Differentiate between break and continue

Programs

1.    W.A.P to find sum of digits of a number

2.    W.A.P to find reverse of a number and check if it’s a palindrome or not

3.    W.A.P to find if a 3 -digit number is a palindrome or not

4.    W.A.P to convert binary number to decimal number

5.    W.A.P to convert decimal number to binary number

6.    W.A.P to find factorial of a number

7.    W.A.P to print fibonacci series

8.    W.A.P to find if a number is prime or not

9.    W.A.P. to find sum of the series            1+2! +3! +4! +……

10.W.A.P. to find sum of the series             1- 2 +3 -4 +5 -…….

All series questions

Nested loops

1.    W.A.P to print prime numbers from 1 to 500

2.    W.A.P to print Armstrong numbers from 1 to 500

All pattern questions

 

 

 

Comments

Popular posts from this blog

electrical engineering important question unit wise

                                                                                       B. Tech. First Year                                     QUESTION BANK     Session: 2022-2023                                                                                    Semester: 1st UNIT 1 Q1. Explain Active and Passive element   Q2. Explain ideal and practical voltage and current source. Q3. Give two comparison between unilateral and bilateral elements...

Periodic Table download pdf link

                                                  Periodic Table download pdf link :- https://drive.google.com/file/d/1pdWrMv5UtHyvJLMDMP2QmKOSFuPGfRG4/view?usp=drivesdk