Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Entry Level C Language Test

Topics Covered

  • Control Flow Statements
  • C Programming

Useful for hiring

  • Entry Level Software Engineers
  • Entry Level C Learners
  • C language expert

Start hiring job-fit candidates using this assessment

GET A DEMO

"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager
Question

For which of the following mode, the given command will assist to read and write to the file?

FILE *fopen("fileName.txt", Mode)

Note: There can be multiple correct answers to this question.

Answer
    • r+

    • w+

    • a+

Question

Consider the following code snippet, first printf statement prints a value 3, what value will be printed by the second printf statement?
(Note: No other new file descriptors are opened while executing this program) 

int main()
{
     int df1= dup(STDOUT_FILENO);
     int df2= dup(STDOUT_FILENO);
     printf("%d", df1);
     printf("%d", df2);
     return 0;
 }

Answer
    • Any positive value

    • Error: Reduntant command

    • 1

    • 4

    • 0

Question

Given the function prototype definition, which can take a variable number of arguments.
int func(X, ...);

If the arguments passed are of type double, Identify X.

Answer
    • double

    • float

    • void

    • int

Test details:

The test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Duration: 30 minutes

No. of Questions: 20


The test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

Test description:

A Software Engineer should have basic knowledge of various software languages in Information Technology. C language is considered to be the fundamental language in software and also is the base to check IT engineer's knowledge.

The Entry Level C Language test has been designed and developed to help employers and recruiters evaluate basic level knowledge of candidates about C language. The test contains meaningful questions on Control Flow Statements, C Programming and many more.

Using powerful reporting, you will have detailed analysis of test results to help you make better decisions and predict candidate and employee success.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO