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.4/5(16)

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
⚠️ Ranking results of all timemay not be relevant because the test has not been taken enough times yet.
1.
developer avatar
Oguzhan Yagci
2705 points
2.
developer avatar
frederic
2673 points
3.
developer avatar
Christophe
2504 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
21/09/2024
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