Concepts, Declaration, Definition, Accessing array element, One-dimensional and Multidimensional array.
Define pointer and its use. Explain array of pointer with example. Write program to swap the values by using call by reference concept.
Write a program to create two integer of size 8 and 7. Initialize the arrays with random values. Sort the arrays in ascending order with the help of user defined function namely “sort array”. Merge these arrays with the help of another user defined function named “merge arrays” which returns a new array. Program should display the arrays before and after sorting, also the merged arrays.
Write a C program to
i. Create a 2D array [Matrix] [in main function]
ii. Write a function to read 2D array[Matrix]
iii. Write a function that will return true(1) if entered matrix is symmetric or false(0) is not symmetric.
iv. Print whether entered matrix is symmetric or not [in main function]