whatisgithub

What is c-exam-practice-1337-42?

wkratos/c-exam-practice-1337-42 — explained in plain English

Analysis updated 2026-05-18

7CAudience · developerComplexity · 1/5Setup · easy

In one sentence

A personal archive of over forty C programming exercises used to prepare for the 42 and 1337 coding school entrance exam.

Mindmap

mindmap
  root((C Exam Practice))
    What it does
      42 and 1337 exam prep
      Solved C exercises
      Original subjects included
    Tech stack
      C language
      Standard compiler
    Use cases
      Practice exam exercises
      Check reference solutions
      Study C fundamentals
    Audience
      42 students
      1337 students

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Practice common 42 or 1337 exam-style C exercises with reference solutions to check against.

USE CASE 2

Study string, pointer, memory, and algorithm exercises typical of a C fundamentals curriculum.

USE CASE 3

Compare your own solution to a working one after attempting an exercise independently.

What is it built with?

C

How does it compare?

wkratos/c-exam-practice-1337-420xsv1/ghosttype-bofatc1441/hrs3300-arduino-library
Stars777
LanguageCCC
Last pushed2020-07-05
MaintenanceDormant
Setup difficultyeasyhardmoderate
Complexity1/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Just needs a C compiler, each exercise compiles and runs independently.

So what is it?

This repository is a personal study collection of C programming exercises, built by a student preparing for the entry tests and final exam at 42 and 1337, coding schools known for their intensive, project-based curriculum with no traditional teachers. It is meant as a practice archive rather than a finished piece of software. Each exercise sits in its own folder, named after the task it solves, and includes both the author's C code and, where available, the original exercise instructions. There are more than forty exercises in total, grouped loosely around a handful of common exam topics: working with strings, such as reversing text, changing capitalization, or applying ROT13 encoding, memory tasks like dynamic allocation and converting numbers to strings, pointer and array manipulation, small algorithms such as checking for prime numbers or counting words, and programs that read and validate command line arguments. The README gives simple instructions for compiling any single exercise using the standard C compiler with strict warning flags, then running the resulting program directly from the command line. It also describes a recommended way to use the repository: read the original exercise description first, try to solve it independently, compile and test it carefully, including edge cases, and only afterward compare your own solution against the one provided here. The author is explicit that these are personal solutions, that exercise wording can vary between different 42 or 1337 campuses, and that the repository is meant to support learning rather than replace the work of solving each exercise yourself. It is aimed at other students on the same or similar curriculum who want reference solutions and practice material for the same style of C exam questions.

Copy-paste prompts

Prompt 1
Explain what this specific C exercise is asking me to implement before I look at the solution.
Prompt 2
Help me compile and test one of these exercises using the strict warning flags shown in the README.
Prompt 3
Walk me through the difference between my own C solution and the one in this repository.
Prompt 4
Suggest additional edge cases I should test for a string manipulation exercise like these.

Frequently asked questions

What is c-exam-practice-1337-42?

A personal archive of over forty C programming exercises used to prepare for the 42 and 1337 coding school entrance exam.

What language is c-exam-practice-1337-42 written in?

Mainly C. The stack also includes C.

How hard is c-exam-practice-1337-42 to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is c-exam-practice-1337-42 for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.