0% found this document useful (0 votes)
301 views1 page

Itp Imp Questions

The document outlines the topics to be covered in 5 units on C programming. Unit 1 discusses the structure of C programs, computer hardware, data types, operators, and algorithms. Unit 2 focuses on control structures like switch statements, loops, and conditional statements. Unit 3 presents string handling functions, 2D arrays, and matrix operations. Unit 4 introduces dynamic memory allocation, structures, unions, pointers, and pointer arithmetic. Unit 5 explains call by value/reference, recursion, file I/O functions, and storage classes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
301 views1 page

Itp Imp Questions

The document outlines the topics to be covered in 5 units on C programming. Unit 1 discusses the structure of C programs, computer hardware, data types, operators, and algorithms. Unit 2 focuses on control structures like switch statements, loops, and conditional statements. Unit 3 presents string handling functions, 2D arrays, and matrix operations. Unit 4 introduces dynamic memory allocation, structures, unions, pointers, and pointer arithmetic. Unit 5 explains call by value/reference, recursion, file I/O functions, and storage classes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Unit-1

1. Explain about structure of a c program with example


2. Draw neat Computer block diagram and explain the different parts with examples
3. Explain about data types used in C with examples?
4. Explain about the operators in C with example?
5. Define Algorithm. Explain about algorithm and write one example

Unit-2

1. Explain about switch case statement with an example?


2. Write a C program to check whether given number is Armstrong or not?
3. Write a C program to check whether given number is palindrome or not
4. Explain about if and if-else statement with an example
5. Explain about while loop and do-while loop with an example.

Unit-3

1. Explain about String standard functions with examples.


2. Write a C Program to check whether the given String is Palindrome or not?
3. Write a C Program to display the addition of two matrices?
4. 5. What is 2-D Array? How to declare and Initialize and how to access elements of 2-D Array explain with
an example?
5. What is an Array? How to declare and Initialize an Array? How to access elements of an array explain with
an example?
Unit-4
1. Elaborate the importance of dynamic memory allocation with example?
2. Define a structure? Describe how to declare and initialize structure and its members with an example?
3. Define a union? Describe how to declare and initialize union and its members with an example?
4. Write a C Program using pointer to swap two numbers?
5. Discuss in detail about pointer arithmetic? Support the answer with appropriate example?

Unit-5
1. Explain call by value and call by reference? And write an example for each of those?
2. What a recursion? Write a program to find the factorial of a given number using recursion?
3. Write a C program for finding the GCD among two numbers using recursion?
4. . Explain the following functions
1. fprintf()
2. fscanf()
3. getw()
4. putw()
5. . Explain Storage classes with examples?

You might also like