0% found this document useful (0 votes)
118 views

C Programming Question Paper

Uploaded by

debasiskamila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views

C Programming Question Paper

Uploaded by

debasiskamila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy