C Program To Insert An Element Desired or Specific Position In An Array
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
Output:
Enter no. of elements you want for the array:
5
Enter 5 elements for the array:
23
65
36
14
52
Enter the element you want to insert:
65
Enter position for the newitem element:
3
Array after inserting newitem element
23 65 65 36 14 52
need an explanation for this answer? contact us directly to get an explanation for this answer