Thursday, 12 April 2018

PROGRAMMING IN C AND DATA STRUCTURES

PROGRAMMING IN C AND DATA STRUCTURES

ASSIGNMENT - 2
NOTE: 1. Requesting to go through all the questions with syntax and program.
             2. Lab programs also included.


1. Define an array? How one and two dimensional arrays are declared and initialized?Explain?

2. What is function? Write a c program to find the cube of a given number using function?

3. Explain string input/output functions with an example?

4. Write a c program to check a number is a prime or not using recursion?

5. Write a c program to sort the elements by passing array as function argument?

6. List  the string manipulation functions and explain any 2 of them with example?

7. Write a c program to concatenate 2 strings without using built in function?

8. write a c program to read N elements and find the biggest element in an array?

9. Explain how strings are declared and initialized with syntax and example?

10. Explain function definition, function call and function declaration with example?

11. Explain the difference between call by value and call by reference?

12. What is structure?Explain the c syntax of the structure declaration with example?

13. Write a c program to pass structure variables as function argument?

14. Explain How structure member are accessed using .(Dot) Operator with example?

15. Explain structure within a structure with example?

Download Text Books

Download All TextBooks from 1st to 10th standard Click Here to Download http://www.ktbs.kar.nic.in/New/index.html#!/textbook