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

Test details

Beginner
January 2024
15 minutes
3.1/5(13)

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
Adrien
2849 points
2.
developer avatar
EL Mostafa
2709 points
3.
developer avatar
Florent
2637 points
4.
developer avatar
john
2628 points
5.
developer avatar
Nn
2590 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
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
developer avatar
Anthony
10/02/2024
developer avatar
Nicolas
03/02/2024
I cannot see what I have selected or not