- [ ] Array
- [ ] Structure
- [ ] Pointer
- [ ] Stack
- [ ] Queue
- [ ] LinkedList
- [ ] Searching
Lab 1
- Write a statement to declare an integer array of size 10.
- Write a code to take input for the above-declared array.
- Identify the working of the following code and state the output.
- Write a C/C++ program of the array to perform the following (1D Array)
Lab 2
- For the given algorithm write C code using for loop and while loop.
- Write a C program to print the Fibonacci series up to N terms. (for loop)
- Write a C program to calculate the sum of digits of a number given by the user. (while loop)
- Write a C program to print the sum of the following series up to n terms where n is given by the user. $1+x+x^2/2!+x^3/3! +…$ n terms
Lab 3