Test Language C - Fundamentals

Test C with answers to assess your knowledge and prepare for job interviews. Assess your technical level in 20 minutes.

Validate and promote your skills
Private results unless you share them
Compare your results to the developers average

My Results

Test details

Beginner
January 2024
15 minutes
3.5/5(14)

The C language, created in the 70s, has its own logic and vocabulary. Through this test, you will be able to assess your knowledge and skills in C. The questions cover many notions, at a junior level. The areas covered are therefore:

  • Variables (types, scope, declaration)
  • Naming and accessing files
  • Preprocessor directives (define, macro, ifndef)
  • Functions (headers, call, declaration)
  • Loops
  • Pointers
  • Data structures (structures, tables)
This test consists of 20 questions randomly selected from a database of 45 questions in C.Discover all our interview questions and answers here
1.
developer avatar
Mihaela
2826 points
2.
developer avatar
William Maillard
2815 points
3.
developer avatar
Thomas Lhonorey
2729 points
4.
developer avatar
EL Mostafa
2722 points
5.
developer avatar
Marc-Antoine
2705 points

Test author : Kahina Chellit

ETIC INSA technologies is the “junior enterprise” of INSA Lyon. It carries out expertise for companies ranging from multinational groups to very small ones in almost all domains of engineering.

Contributors5
developer avatar
developer avatar
developer avatar
developer avatar
developer avatar

Sample question

In C, knowing that on the machine where the following code is executed a long weighs 8 bytes, a char 1 byte and a short 2 bytes, give the size in bytes of the following structure (1 correct answer only) :

struct t {
 long z;
 union U {
    long a;
    char b;
    long c;
 }u;
};
See 45 test questions.Participate in test improvement

Developers ratings

developer avatar
04/07/2024
developer avatar
Marc-Antoine
29/06/2024
pas mal de questions subtile debutant, si on a pas fait de C depuis qq temps on fait facilement qq petites erreures !
developer avatar
jean
02/04/2024
pour niveau debutant a mon avis un peut dur
developer avatar
Florent Gréa
25/03/2024
question and traduction are pretty bad, sometimes the .h is included in the question sometimes not and it's on you to guess if you have to take it into consideration. It remove the focus. Bad test.
developer avatar
20/02/2024
Très bon tests pour auto évaluer son niveau notamment avant un entretien