Skip to content

This repository contains a collection of various programs written in the C programming language. The purpose of this repository is to provide a resource for those who are learning C or simply looking for examples of well-written C code.

Notifications You must be signed in to change notification settings

eridon/C-Programming-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

C Programming Examples

This repository contains a collection of various programs written in the C programming language. The purpose of this repository is to provide a resource for those who are learning C or simply looking for examples of well-written C code.

Getting Started

To get started, simply clone the repository to your local machine and navigate to the directory containing the programs you would like to run. Then, compile the program using the GCC compiler by typing gcc filename.c -o outputfile in the terminal, where "filename.c" is the name of the C file you want to compile and "outputfile" is the name you want to give the compiled executable.

Contents

The repository contains a variety of programs, including:

  • Basic programs to get started with C such as Hello World, printing various data types, etc.
  • Programs that demonstrate the use of various control structures like if-else, for, while, etc.
  • Programs that demonstrate the use of arrays, strings, and functions.
  • Programs that implement basic algorithms such as searching and sorting.

Contributing

If you have any programs that you would like to add to this repository, please feel free to submit a pull request. When submitting a pull request, please make sure that your code is well-documented and follows proper C coding conventions.

About

This repository contains a collection of various programs written in the C programming language. The purpose of this repository is to provide a resource for those who are learning C or simply looking for examples of well-written C code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages