Page 1 of 1

hi I wantto solve this question in C++ language with details, please Question : 1- delete adamant at index 2 2- delete e

Posted: Sat Feb 19, 2022 3:22 pm
by answerhappygod
hi I wantto solve this question in C++ language with details,
please
Hi I Wantto Solve This Question In C Language With Details Please Question 1 Delete Adamant At Index 2 2 Delete E 1
Hi I Wantto Solve This Question In C Language With Details Please Question 1 Delete Adamant At Index 2 2 Delete E 1 (32.23 KiB) Viewed 62 times
Question :
1- delete adamant at index 2
2- delete element having, for example, value 3
I need code c++ for 2 Questions with output, please
# function to delete element from the array A at position 2 int A[5] = { 1, 3, 10, 2, 4-3 A - 1 3 to 2 4 o 1 2 3 4 After A 1 3 24 1 2 3 Size int pos; cin >> pos; for (int i = pos;i<n<i++) A = A[i+1]; int main() int n, pos, ALI;