Adobe Scan 02 May 2022
Adobe Scan 02 May 2022
Adobe Scan 02 May 2022
eoeseseoneeoceeee*o*e
18A13
2022
B. Tech. EXAMINATION,
(First Semester)
CSE101C
2-F2-4329M-18A13 P.T.O.
Unit I
system2 5
check
Whether the number is divisible by
)
2 and 5.
i) Whether the number is divisible by
2 but not by 5.
M-18A13 2
Unit
3. (a) Write a program in C language to. find
biggest and smallest number of given n
nos. il an 7
array.
(b) Differentiate between loop statements
with the help of a flowchart and giving
exampies. 8
e,
where a = 1i, b = 6, c = 0, d = 7
and e= 5. 6
(b) With the help of an example, differentiate
between call be value and cail
by
reference. 9
Unit iI
5. (a) Write a
program in C to
print first
100 nos. of
fibone cci series. What are
a
the
advantages if the prograrm is written
Using recursion ?
-230-18A13
(b)
What is a
pointer ? Explain,
pointer variable is how the
deared and
initialized
Explain different
of p r e - p r o c e s s o r directives usedcategories
in C. 6
structur ?
6. (a) What are
Explain the use of
hit fields in srucnres giving examples.
7
(b) Write a c-program using structures to
read, write, compute average marks and
display the students scoring above and
below the average marks for a class of N
students. 8
Unit IV
What in C language ?
(c) are Keywords
(d) Write thesyntax of conditional operator.
(e) Differentiate between getch( ). and
getche()finctions. 5x3