DegreeCSA • Exam Preparation
Programming with C & C++ Important Questions
Unit-wise important questions for C and C++ examination preparation
Programming with C & C++
Important questions covering C fundamentals,
control statements, functions, arrays, pointers,
structures, unions and C++ concepts.
UNIT I
C Language Fundamentals
Data Types, Operators, Variables, Structure & Type Conversion
5 Questions
- 1 What is data type explain? What is operator? Explain different types of operators in C?
- 2 Discuss Scope and lifetime of variables with example?
- 3 List and explain various sections in basic structure of a C program?
- 4 Discuss Type conversions in C language? Explain?
- 5 Explain History & Features of C language?
UNIT II
Control Statements in C
Conditional, Looping, Jumping & Switch Statements
4 Questions
- 1 Explain conditional statement with example?
- 2 Explain looping statements with example?
- 3 Explain Jumping statements with example?
- 4 Explain Switch Statement with example?
UNIT III
Functions, Strings & Arrays
String Handling, Functions, Recursion, Parameters & Arrays
6 Questions
- 1 Define String? Explain string handling functions with example?
- 2 What is built in function? Explain mathematical, date and time functions?
- 3 Explain need of user defined function? What is function? Explain various elements of function?
- 4 Explain formatted input, output functions in C? b. Recursion
- 5 Explain below: a. Call by value b. Call by reference
- 6 What is an array? Explain 1D, 2D Arrays with example?
UNIT IV
Pointers & User Defined Data Types
Pointers, Structures, Unions & Enumerated Data Types
6 Questions
- 1 What is pointer? Explain with example?
- 2 Explain pointer arithmetic operations?
- 3 What is structure? Explain with example? Explain Array of structure?
- 4 What is union? Explain with example?
- 5 What is Enumerated data type? Explain with example?
- 6 Compare structure with union?
UNIT V
C++ Programming
OOP Concepts, C vs C++, Storage Classes & Inheritance
5 Questions
- 1 Explain object oriented concepts in C++?
- 2 Compare C and C++?
- 3 What is Structure of C++ program?
- 4 Explain storage classes in C++?
- 5 What is Inheritance? Explain Types of Inheritance?
📘 DegreeCSA Exam Preparation
Use these unit-wise important questions for quick revision. Prepare the definitions, concepts, explanations and example programs thoroughly before the examination.
