### Write a program to merge two sorted arrays into a third array such that the third array is…

```Write a program to merge two sorted arrays into a third array such that the third array is also in the sorted order.
a1	10	25	90
a2	9	16	22	26	10
a3	9	10	16	22	25	26	90	100
```

### Write a program to add and multiply two matrices. Write separate functions to accept, display,…

```Write a program to add and multiply two matrices. Write separate functions to accept, display, add and multiply the matrices.
Perform necessary checks before adding and multiplying the matrices.
```

### Write a program to display the elements of an array containing n integers in the reverse order…

```Write a program to display the elements of an array containing n integers in the reverse order using a pointer to the array.
```

### Write a program to allocate memory dynamically for n integers such that the memory is initialized…

```Write a program to allocate memory dynamically for n integers such that the memory is initialized to 0. Accept the data from the user and find the range of the data elements.
```

### Accept n integers in array A. Pass this array and two counter variables to a function which…

```Accept n integers in array A. Pass this array and two counter variables to a function which will set the first counter to the total number of even values in the array and the other to the
total number of odd values. Display these counts in main. (Hint: Pass the addresses of the counters to the function)```

### Write a function which accepts a number and three flags as parameters. If the number is even,…

```Write a function which accepts a number and three flags as parameters. If the number is even, set the first flag to 1.
If the number is prime, set the second flag to 1. If the number is divisible by 3 or 7, set the third flag to 1. In main, accept an integer and use
this function to check if it is even, prime and divisible by 3 or 7. (Hint : pass the addresses of flags to the function)
```

### Accept the number of rows (m) and columns (n) for a matrix and dynamically allocate memory…

```Accept the number of rows (m) and columns (n) for a matrix and dynamically allocate memory for the matrix.
Accept and display the matrix using pointers.Hint: Use an array of pointers.
```

### Write a program that will accept a string and character to search. The program will call a…

```Write a program that will accept a string and character to search. The program will
call a function, which will search for the occurrence position of the character in the
string and return its position. Function should return â€“1 if the character is not found in
the string.
```

### A palindrome is a string that reads the same-forward and reverse. Example: "madam" is a Palindrome.…

```A palindrome is a string that reads the same-forward and reverse.  Example: "madam" is a Palindrome. Write a function which accepts a string and returns 1 if the string is a palindrome and 0 otherwise. Use this function in main.
```

### aa abab abcabc abcdabcd abcabc abab aa

```         aa
abab
abcabc
abcdabcd
abcabc
abab
aa
```