This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| struct student | |
| { | |
| char firstName[50]; | |
| int regno; | |
| int marks1; | |
| int marks2; | |
| int marks3; | |
| int marks4; | |
| int marks5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let arra = [1, 4, 5, 6, 7] | |
| var duplicate = [] | |
| let o = [] | |
| let e = [] | |
| var on = 0; | |
| var en = 0; | |
| console.log("original array ", arra) |
NewerOlder