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

Q61.
A Program contains the following declarations and initial assignments:

int i = 8, j = 5;
double x = 0.005, y = –0.01;
char c=’c’, d=’d’;

Determine the value of the following expressions which involve the use of library functions:

abs(i-2*j) ; log(exp(x)) ; toupper(d)
Discuss
Answer: (a).2; 0.005; D
Q62.
MPEG involves both spatial compression and temporal compression. The spatial compression is similar to JPEG and temporal compression removes .............. frames.
Discuss
Answer: (d).Redundant
Discuss
Answer: (c).Both C and C++ allow functions for which parameters are not type checked and also the union types in these languages are not type checked.
Q64.
When the following code is executed what will be the value of x and y?

int x = 1, y=0;
y = x++;
Discuss
Answer: (a).2, 1
Q65.
How many values can be held by an array A(-1,m;1 ,m) ?
Discuss
Answer: (d).m(m+2)
Q66.
What is the result of the expression

(1&2)+(3/4) ?

a.

1

b.

2

c.

3

d.

0

Discuss
Answer: (d).0
Q67.
How many times the word 'print' shall be printed by the following program segment?

for(i=1, i≤2, i++)
for(j=1, j≤2, j++)
for(k=1, k≤2, k++)
printf("print/n")

a.

1

b.

3

c.

6

d.

8

Discuss
Answer: (d).8
Q68.
Arrays in C language can have ................. with reference to memory representation.
Discuss
Answer: (c).only one subscript
Q69.
Refer the points as listed below:

(a) What are the operator precedence rules ?
(b) What are the operator associativity rules ?
(c) What is the order of operand evaluation ?
(d) Are there restrictions on operand evaluation side effects ?

Which of the above must be considered as primary design issues for arithmetic expressions ?
Discuss
Answer: (d).(a), (b), (c) and (d)
Discuss
Answer: (a).The function can change values in the original array.

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!