Вы находитесь на странице: 1из 2

C assignment 1

1. State and Explain fundamental data types used in c language?


2. State and Explain the different types of operators?
3. State and Explain the control statements used in C language?

C assignment 2
1. State and Explain different types of storage classes?
2. Explain call by value and call by reference with examples?
3. What is an Array ? State and Explain the different types of arrays?
C assignment 3
1. State and Explain different types of String handling functions?
2. What is pointer? Explain declaration and initialization of pointers also explain arithmetic
operations performed on pointers?
3. Explain array of structures with examples?
Practicals for c programming
1. Write a program to accept input principle amount, period and rate of interest. Calculate
simple interest by using following formula SI=P*R*N/100. Write algorithm and draw
flowchart?
2. Write a program to check whether a number is odd or even. Write algorithm and draw
flowchart?
3. Write a program to find maximum number between two numbers?
4. Write a program to find maximum number among three numbers?
5. Write a program to reverse each digit of a number?
6. Write a program to check whether a number is a palindrome or not?
7. Write a menu driven program to perform arithematic operations (namely additions,
substractions, multiplications and divisions)?
8. Write a program using functions to interchange the data stored in variables?
9. Write a program using recursive of functions to find factorial of number?
10. Write a program to add two matrices?
11. Write a program using pointers to find the length of a string?
12. Write a program to copy one string into another string?
13. Declare a employee structure having the data , members , emp name , emp id, salary.
Accept and display this data for 5 employees?
14. Write a program to copy content of one file to another file?
15.
16.

17.