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 9 of 16

Q81.
Match the following:

Set-I
(a) Garbage collection in
(b) Nameless object
(c) Template support
(d) A forward reference
(e) Derived class inherits from base class

Set-II
1. Java
2. generic programming
3. defines a class
4. member function
5. within a statement

Codes :
    (a) (b) (c)  (d)  (e)
Discuss
Answer: (b).1   5   2    3     4
Q82.
The data type created by the data abstraction process is called
Discuss
Answer: (c).abstract data type
Q83.
What would be the output of the following program, if run from the command line as “myprog 1 2 3”?

main (int argc, char * argv[ ])
{  int i ;
i = argv[1] + argv[2] + argv[3] ;
printf (“% d”, i) ;
}
Discuss
Answer: (c).Error
Q84.
A …………….. is a special method used to initialize the instance variable of a class.
Discuss
Answer: (c).Constructor
Q85.
What is the value of ‘b’ after the execution of the following code statements:

C=10;
B=++c+++c;
Discuss
Answer: (d).None of the above
Q86.
Which of the following does not represent a valid storage class in ’c’?
Discuss
Answer: (c).union
Discuss
Answer: (c).Exchange of data between classes to take place
Discuss
Answer: (c).It retains its value during the life of the program
Q89.
The output of the program code

main()
{
int x=0;
while (x<=10)
for(;;)
if(++x%10==0)
break;
printf(“x=%d”,x);
}

is :
Discuss
Answer: (c).x=20
Discuss
Answer: (b).an argument is passed by value

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!