Welcome to the Programming in C MCQs Page

Dive deep into the fascinating world of Programming in C with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Programming in C, a crucial aspect of UGC CBSE NET Exam. In this section, you will encounter a diverse range of MCQs that cover various aspects of Programming in C, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within UGC CBSE NET Exam.


Check out the MCQs below to embark on an enriching journey through Programming in C. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of UGC CBSE NET Exam.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Programming in C. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Programming in C MCQs | Page 1 of 16

Answer: (a).Context free language
Match the following with respect to C++ data types :

a. User defined type                   1. Qualifier
b. Built in type                             2. Union
c. Derived type                            3. Void
d. Long double                           4. Pointer

Code : a b c d
Answer: (a).2 3 4 1
Answer: (c).Assigning a legal values possible for a variable
Which of the following mode declaration is used in C++ to open a file for input ?
Answer: (d).ios : : in
In a Linear Programming Problem, suppose there are 3 basic variables and 2 non-basic variables, then the possible number of basic solutions are
Answer: (c).10
When a programming Language has the capacity to produce new datatype, it is called as,
Answer: (b).Extensible Language
The Default Parameter Passing Mechanism is called as
Answer: (a).Call by Value
Functions defined with class name are called as
Answer: (c).Constructor
Consider the program below in a hypothetical programming language which allows global variables and a choice of static or dynamic scoping
int i;
program Main( )
i = 10;
call f ( );
procedure f( )
int i = 20;
call g ( );
procedure g( )
print i;

Let x be the value printed under static scoping and y be the value printed under dynamic scoping. Then x and y are
Answer: (d).x = 10, y = 10
Answer: (b).ptr is a pointer to an array of 10 integers
Page 1 of 16

Suggested Topics

Are you eager to expand your knowledge beyond Programming in C? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!