Skip to content

victorpreston/Teach2give-Technical-Test

Repository files navigation

Teach2give-Technical-Test

C programming language

Overview

This repository contains a set of 6 questions for the Teach2Give assessment test and their respective answers in C language.

The questions are written in the form of comments in the program files:

main.h

This file contain function prototypes, constant definitions and other declarations that are used in the programs

The file also contains the library headers that are needed by corresponding program files.

Output

This folder contains the executable output files

The files are obtained after compilation of the C program files

How to Run

git clone https://github.com/victorpreston/Teach2give-Technical-Test.git
cd Teach2give-Technical-Test
gcc main.h <fileName> -o <Output_fileName>

For the output files:

git clone https://github.com/victorpreston/Teach2give-Technical-Test.git
cd Teach2give-Technical-Test && cd output
$./OutputFile