C Online Test

TestDome skill assessments are used by more than 5,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This 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.

Recommended Job Roles
Back-End Developer
C Developer
Sample Candidate Report

Sample Free Questions



C Strings Public

A palindrome is a word that reads the same backward or forward.

Write a function that checks if a given word is a palindrome. Character case should be ignored. If the given word is a palindrome, the function should return 1; otherwise it should return 0.

For example, is_palindrome("Deleveled") should return 1 as character case should be ignored resulting with "deleveled" which is a palindrome since it reads same backward and forward.

Inspect Bits


C Bit manipulation Public

Implement the inspect_bits function that checks if given number contains 2 or more consecutive ones in its binary representation. If it does, the function should return 1. Otherwise, it should return 0.

For example, inspect_bits(13) should return 1 as it contains 2 consecutive ones in its binary representation (1101).

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Allocate String, Copy Bit, Max Sum, Shipping, Init Range, Read Write Execute, Segment, Square, Tiles, Username
C Memory management Bit manipulation Algorithmic thinking Arithmetic Strings Pointers 2D array Pass by reference Regex
Score Distribution
Pricing For Premium Questions