Skip to content

Instantly share code, notes, and snippets.

View saharshg29's full-sized avatar

saharshg29

View GitHub Profile
#include <stdio.h>
void main()
{
int n, m;
printf("Enter the size of array 1 \n");
scanf("%i", &n);
int arr[n];
int cpy[n]; // COPY OF ARRAY 1
#include <stdio.h>
// removing duplicate element from array
void main()
{
int n, m;
//Declaring arrays
printf("Enter the size of array 1 \n");
scanf("%i", &n);
#include <stdio.h>
struct student
{
char firstName[50];
int regno;
int marks1;
int marks2;
int marks3;
int marks4;
int marks5;
let arra = [1, 4, 5, 6, 7]
var duplicate = []
let o = []
let e = []
var on = 0;
var en = 0;
console.log("original array ", arra)