0% found this document useful (0 votes)
18 views3 pages

C CPP Revision Questions

The document contains topic-wise revision questions for C and C++ programming languages, covering various fundamental concepts such as data types, operators, control statements, loops, arrays, strings, functions, pointers, structures, unions, and file handling. Each topic includes specific programming tasks and theoretical questions to enhance understanding. It serves as a comprehensive guide for learners to practice and revise key programming concepts.

Uploaded by

DANISH Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

C CPP Revision Questions

The document contains topic-wise revision questions for C and C++ programming languages, covering various fundamental concepts such as data types, operators, control statements, loops, arrays, strings, functions, pointers, structures, unions, and file handling. Each topic includes specific programming tasks and theoretical questions to enhance understanding. It serves as a comprehensive guide for learners to practice and revise key programming concepts.

Uploaded by

DANISH Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C & C++ Revision Questions (Topic-wise)

C LANGUAGE - TOPIC-WISE QUESTIONS

1. Basics of C

- C language ke features aur limitations batao.

- Compiler aur interpreter mein difference likho.

- ASCII values ka use karke ek program likho jo character input le aur uska ASCII code print kare.

2. Data Types & Variables

- int, float, char, double ke size aur range batao.

- Program likho jo user ka naam aur age input le aur print kare.

3. Operators

- ++i aur i++ mein difference example ke sath.

- Program likho jo arithmetic operators ka use karke sum, difference, product, division print kare.

- Bitwise operators ke 3 examples likho.

4. Control Statements (if-else, switch)

- Program likho jo 3 numbers mein se sabse bada number find kare (if-else).

- Ek calculator ka program likho (switch case use karke).

- Program jo check kare number positive hai, negative hai ya zero.

5. Loops (for, while, do-while)

- 1 to 100 tak ke numbers print karne ka program (for loop).

- Sum of first N natural numbers using while loop.


- Table of any number print karne ka program (do-while loop).

6. Arrays

- Ek program likho jo 5 numbers input le aur unka sum print kare.

- Ek array ke elements ko reverse karne ka program likho.

- 2D array ka matrix addition ka program.

7. Strings

- Ek string ka length find karne ka program (without strlen).

- Palindrome string check karne ka program.

- Ek string ko reverse karne ka program.

8. Functions

- Call by value aur call by reference mein difference likho.

- Factorial find karne ka program (function ke through).

- Fibonacci series ka program using recursion.

9. Pointers

- Pointer ka basic program jo variable ka address print kare.

- Pointer arithmetic ke 3 examples.

- Array with pointer ka program likho.

10. Structures & Union

- Student record store karne ka structure program likho.

- Structure aur Union mein difference.

- Nested structure ka example program.


11. File Handling

- Ek text file me data write karne ka program.

- File read karke content print karne ka program.

You might also like