C online quiz - C programming quiz

Your proficiency as C programmer is judged by your performance in the online quiz. Reading books after books on C alone can not help you crack an interview. Practice with this set of 42 tricky questions on C to ensure that you choose the correct answer from very closely related options within the stipulated time. Whether you are an experienced C professional or a fresher trying to make an entry into the corporate work, you will find this test extremely helpful.

Online Practice Test > C Test

Click here to start C quiz/test
Here are few sample C test/quiz questions

From which of the following libraries below, calloc() belongs to?

stdlib.h
malloc.h
calloc.h
both a and b above


What is the main difference between calloc() and malloc()?

calloc() takes a single argument while malloc() needs two arguments
malloc() takes a single argument while calloc() needs two arguments
malloc() initializes the allocated memory to ZERO
calloc() initializes the allocated memory to NULL 

Click here to start C quiz/test   

More Links
What is friend class in C++?

Latest answer: When a class declares another class as its friend, it is giving complete access to all its data and methods including private and protected data and methods to the friend class member methods..............

Explain default constructor. What is a default constructor?

Latest answer: Default constructor is the constructor with no arguments or all the arguments has default values..............

Define abstraction. What is abstraction? What is an abstraction and why is it important?

Latest answer: The process of hiding unnecessary data and exposing essential features is called abstraction. Abstraction is separating the logical properties from implementation details.............. 



Write your comment - Share Knowledge and Experience

Discussion Board
Variables sharing common data type

To make c++ more strong ,finding a way for using same data type wil enhance understanding for freshers

Varsha 06-11-2013 11:18 PM

C Online Quiz - C Programming Quiz

From which of the following libraries below, calloc() belongs to?

stdlib.h
malloc.h
calloc.h
both a and b above


C Online Quiz 05-11-2012 05:15 AM

C Online Quiz - C Programming Quiz

What is the main difference between calloc() and malloc()?

calloc() takes a single argument while malloc() needs two arguments
malloc() takes a single argument while calloc() needs two arguments
malloc() initializes the allocated memory to ZERO
calloc() initializes the allocated memory to NULL


C Online Quiz 05-11-2012 05:15 AM

C Online Quiz - C Programming Quiz

Which of the following below is/are valid C keywords?

integer
int
null
both a and c above


C Online Quiz 05-11-2012 05:15 AM

C Online Quiz - C Programming Quiz

What are the total number of keywords in C?

30
33
32
35


C Online Quiz 05-11-2012 05:14 AM

C Online Quiz - C Programming Quiz

What is the purpose of \r ?

used to insert a vertical tab
used to insert a tab
places cursor in end of line
places cursor in start of line


C Online Quiz 05-11-2012 05:14 AM

More online test

Javascript Online Test
Business Intelligence
Cognos Online Test
Analysis services Test
Business object Test
OLAP Test
ReportNet Test
Linux Certification
C Online Quiz
C++ Online Test


Career 12-20-2011 04:34 AM

 


Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring