adplus-dvertising

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.

frame-decoration

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

Discuss
Answer: (a).Context free language
Q2.
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
Discuss
Answer: (a).2 3 4 1
Discuss
Answer: (c).Assigning a legal values possible for a variable
Q4.
Which of the following mode declaration is used in C++ to open a file for input ?
Discuss
Answer: (d).ios : : in
Q5.
In a Linear Programming Problem, suppose there are 3 basic variables and 2 non-basic variables, then the possible number of basic solutions are
Discuss
Answer: (c).10
Q6.
When a programming Language has the capacity to produce new datatype, it is called as,
Discuss
Answer: (b).Extensible Language
Q7.
The Default Parameter Passing Mechanism is called as
Discuss
Answer: (a).Call by Value
Q8.
Functions defined with class name are called as
Discuss
Answer: (c).Constructor
Q9.
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
Discuss
Answer: (d).x = 10, y = 10
Discuss
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!