>
C Sharp
Programming
Knowledge of C Language
Verifies knowledge of the C language in 20 questions and 30 minutes: pointers, strings, macros, preprocessor directives, memory release and output prediction.
Difficulty
Intermediate
20
questions
Time limit of
30
mins
English
About this test
Twenty multiple-choice questions at an intermediate level, many of them with a short snippet where the candidate must find the error or predict what the program prints. The candidate does not write code.
It checks C itself, not C# or C++. The snippets require careful code reading, especially around pointers and the preprocessor.
What it measures
Pointers, the address-of operator and pointers to pointers
Operators such as increment, compound assignment and comparison
Strings: declaration pitfalls, comparison and modifying string literals
Macros and directives such as #define, #ifdef, #undef and #pragma
Releasing memory and recursive functions
Predicting output, including escape sequences in printf
Ideal for
C developers
Systems and embedded programmers
Candidates for roles that require working with memory
Low-level code
Details
Programming
Difficulty
Intermediate
Time limit of
30
mins
C Sharp
English
20
questions
Average duration:
0
min
1
times completed