Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
74 views

C Programming Question Paper

Uploaded by

debasiskamila
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

C Programming Question Paper

Uploaded by

debasiskamila
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

(Plea"se utrlte gour Exun Rolt No') Exam Roll No.

Ewp Tpnnr ExeUINATIoN


Paper Code: BCA'7OS Subj ect: Intro duction to Prog ramming

uding whichis comPulsory'


- Select one questionfrom Q'no'7
eac4unit'

Q1
ples. (2.5x1O=25)
lable in C"
tinue statement in C?
n.

ation and function definition'


type.h.
Give examPles.
ectives in C?
nt and pre-increment operator with
example.

, Unit-I
(6.s)
Q2 (a) Explain looP statements in C. (6)
ifi wfi^t are different types of operators in C? Briefly explain'
Q3 (a) what is an [Irray? write a program to print average of all elements of art
(6.s1
array" (6)
1t1 Oinerentiate between while
and do-while loop constructs with example'
Unit-il
Q4 (a) with the help of a program,
r explain the concept of call by value and call by
(6'5)
reference" (6)
(b) Define the following terrns:
(i) Static Variables
(ii) Pointers
(iii) Dynamic Memory Allocation
any
Qs (a) Explain tJre concept - recursion by writing a program to find factorial of(6'51
--r- of
given number. .
(b) How ar.ray of pointer are passed as arguments in a function. Give
example'(6)

Unit-[I
UUIL-rrr ,.1J
from
Q6 (a) Explain the concept and need. of structures inic' How is union different
(6.s1
structure?
(b) what is file handling? what are various functions used in file handling?
(6)
Briefly explain"
into
Q7 what is file pointer? write a program i" c_tg create a file, write string data
it and count number of characteis in that file'
(12'5)

Unit-IV
Q8 (a) What is array of strings? Describe various string manipulation functions
(6.5)
:

wit1 example.
of functions in libraries
(b) what are standard libraries in c? Give examples
(61
stdio.h, math.h and string.h.
rr,--:1- +^ ff+cr anr{ fhcn r:nneatenate two strings entered by

You might also like