Skip to content

Instantly share code, notes, and snippets.

View pSnehanshu's full-sized avatar
👨‍💻
Building stuff

স্নেহাংশু ফুকন pSnehanshu

👨‍💻
Building stuff
View GitHub Profile
@pSnehanshu
pSnehanshu / array.c
Last active October 24, 2018 10:59
To be submitted on 27 sep
#include <stdio.h>
// Inserts an element. Returns the number of new elements.
int insert(int arr[], int len, int num, int key)
{
int i;
if (len == key)
{
arr[key] = num;