This C Online Test
Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The C online test assesses candidates' knowledge of programming in the C language.

It's an ideal test for pre-employment screening. A good C developer needs to be able not only to solve problems using C but also understand the implications of low level optimizations.

This online test requires candidates to solve coding problems in C.

Sample public questions

Easy
10 min
code
Public
C
Arithmetic

Implement the function find_roots to find the roots of the quadratic equation: ax2 + bx + c = 0. If the equation has only one solution, the function should return that solution as both roots. The equation will always have at least one solution.

The roots of the quadratic equation can be found with the following formula: A quadratic equation.

For example, the roots of the equation 2x2 + 10x + 8 = 0 are -1 and -4.

Easy
10 min
code
Public
C
Arrays
Pointers

Implement the count_views function. It accepts an array of pointers to the Viewer struct, the size of the array, and the character array with the video name. It should return the number of Viewers who have watched a Video with the name video_name.

For example,

Video videos[] = { {.name = "Soccer", .unique_views = 500},
                   {.name = "Basketball", .unique_views = 1000} };
Viewer viewer = {.username = "Dave", .watched_videos = videos,
                 .watched_videos_size = 2};    
Viewer *viewers[] = { &viewer };

calling count_views(viewers, 1, "Soccer") should return 1.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the C test with public questions.

Take a Certification Test

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

Skills and topics tested

  • C
  • Pointers
  • Memory Management
  • Bit Manipulation
  • Arithmetic
  • Algorithmic Thinking
  • Arrays
  • Tree
  • Language
  • Pointer to Pointer
  • Strings
  • 2D Array
  • Pass by Reference
  • Bug Fixing
  • Iteration
  • Recursion
  • Multithreading
  • Synchronization
  • Higher Order Function
  • Pthreads
  • Linked List

For job roles

  • Back-End Developer
  • C Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related C Programming Tests: