Skip to content

paullatzelsperger/c_basic_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c_basic_examples

This repository contains basic examples in the C language to cover topics like variable initialization, flow control, basic pointer arithmetic etc.

Implement a function that reverses a string

char *reverseString(char* _string);

Implement a function that counts the occurrence of a given character in a given string

int countOccurrence(char *_string, char _c);

Implement a function that sorts the characters of a string in alphabetically ascending order ("a"<"b")

char* sortAsc(char* _string);

About

This repository contains basic examples in the C language to cover topics like variable initialization, flow control, basic pointer arithmetic etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published