Write a C/C++ program to take an array as input from user. Now insert a new element at any specified position by user and disp

NAKUL_6

Prominent
Jul 25, 2017
4
0
510
Write a C/C++ program to take an array as input from user. Now insert a new
element at any specified position by user and display the new array.
For example, the user entered an array 2, 4, 6, 2, 4, 8,9. Display this array on
output screen. Now insert a new element say, 5 at 4th position so the new array
is 2,4,6,5,2,4,8,9. Display this array on output screen.
 

NAKUL_6

Prominent
Jul 25, 2017
4
0
510
MERGED QUESTION
Question from NAKUL_6 : "Develop and execute a program to read two matrices A (M x N) and B (P x Q) and to compute the product of A and B if the matric"

Develop and execute a program to read two matrices A (M x N) and B (P x
Q) and to compute the product of A and B if the matrices are compatible for
multiplication. The program is to print the input matrices and the resultant
matrix with suitable headings and format if the matrices are compatible for
multiplication, otherwise the program must print a suitable message. (For the
purpose of demonstration, the array sizes M, N, P and Q can all be less than
or equal to 3)
 

rgd1101

Don't
Moderator
MERGED QUESTION
Question from NAKUL_6 : "Write a C/C++ program to outline the various string manipulation functions such as gets, puts, strcpy, strcat, strlen etc. All"