https://github.com/patilyashh/remove-duplicates
Day 18 of 75 Days C programing challenge || #18 ||
https://github.com/patilyashh/remove-duplicates
Last synced: about 1 month ago
JSON representation
Day 18 of 75 Days C programing challenge || #18 ||
- Host: GitHub
- URL: https://github.com/patilyashh/remove-duplicates
- Owner: PATILYASHH
- Created: 2024-02-28T17:57:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-28T18:00:46.000Z (over 2 years ago)
- Last Synced: 2025-03-02T16:22:12.134Z (over 1 year ago)
- Language: C
- Size: 85 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Remove Duplicates from Array
This C program removes duplicate elements from an array.
## How to Use
1. **Compilation:**
- Make sure you have a C compiler installed on your system.
- Open a terminal and navigate to the directory containing the `remove_duplicates.c` file.
- Compile the program using the following command:
```
gcc -o remove_duplicates remove_duplicates.c
```
2. **Execution:**
- After successful compilation, run the program by executing the following command:
```
./remove_duplicates
```
3. **Sample Output:**
- Upon execution, the program will display the original array and the array after removing duplicates.
## Example
### Input
```
Original array: 1 2 3 2 4 5 3 6
```
### Output
```
Array after removing duplicates: 1 2 3 4 5 6
```
## License
This program is released under the [MIT License](LICENSE).