Skip to content

Instantly share code, notes, and snippets.

View manakcodes's full-sized avatar
💭
I may be slow to respond.

manak manakcodes

💭
I may be slow to respond.
View GitHub Profile
void InsertIntoArray() {
// input the size of the array from user
int size = 0;
printf("enter the size of the array : ");
scanf("%d", &size);
// check is the size is within certain bounds
if (size <= 0) {
printf("\nINVALID SIZE !!\n");
void InsertIntoArray() {
// input the size of the array from user
int size = 0;
printf("enter the size of the array : ");
scanf("%d", &size);
// check is the size is within certain bounds
if (size <= 0) {
printf("\nINVALID SIZE !!\n");
void InsertIntoArray() {
// input the size of the array from user
int size = 0;
printf("enter the size of the array : ");
scanf("%d", &size);
// check is the size is within certain bounds
if (size <= 0) {
printf("\nINVALID SIZE !!\n");
@manakcodes
manakcodes / InsertIntoArray.c
Created May 4, 2025 10:03
Insert an element at a specified position in an array
void InsertIntoArray() {
// input the size of the array from user
int size = 0;
printf("enter the size of the array : ");
scanf("%d", &size);
// check is the size is within certain bounds
if (size <= 0) {
printf("\nINVALID SIZE !!\n");