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

Q101.
In case of right shift bitwise operator in ‘C’ language, after shifting n bits, the left most n bits:
Discuss
Answer: (c).are filled with zeroes or ones and is machine dependent
Q102.
What keyword in class specification helps to hide data:
Discuss
Answer: (b).Private
Q103.
What is the output of the following ‘C’ program?

main()
{printf(“%x”,-1>>4);}
Discuss
Answer: (a).ffff
Discuss
Answer: (a).Accessing virtual function through the pointer of the base class
Discuss
Answer: (a).are initialized during each execution of the function
Discuss
Answer: (a).search statement like an integer variable
Q107.
int arr[ ] = {1, 2, 3, 4}
int count;
incr( ) {return ++count;}
main( )
{
arr[count++]=incr( );
printf(“arr[count]=%d\n”, arr[count]);
}

The value printed by the above program is:

a.

1

b.

2

c.

3

d.

4

Discuss
Answer: (b).2
Discuss
Answer: (b).‘o’ is added to the end of the string
Q109.
The declaration “unsigned u” indicates:
Discuss
Answer: (b).u is an unsigned integer
Q110.
What is the output of the following program segment ?

main()
{
int count, digit=0;
count=1;
while(digit<=9){
printf(“%d\n”,++count); ++digit;}
}
Discuss
Answer: (d).11

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!