An open API service indexing awesome lists of open source software.

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 ||

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).