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
September 2024
15 minutes
3.3/5(15)

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
Frédéric
2963 points
2.
developer avatar
Axel
2881 points
3.
developer avatar
Eliot
2872 points
4.
developer avatar
Fabrice
2867 points
5.
developer avatar
Adrien
2849 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.

Contributors6
developer avatar
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
Oguzhan Yagci
17/09/2024
Il y a des questions bcp top ambigue
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.