0% found this document useful (0 votes)
34 views3 pages

MasterProgramming - in - H-100-21 BCA I Paper III

This document contains questions for an annual C programming language exam. It is divided into 5 units. Unit 1 covers the basic structure of a C program, type casting and its different types, as well as data types, constants, and variables. Unit 2 asks about branching statements like if-else and the differences between call by value and call by reference. Unit 3 covers arrays, their declaration and initialization, differences between structures and unions, and string concatenation. Unit 4 discusses pointer arithmetic, dynamic memory allocation, and pointer to functions. Finally, Unit 5 asks about files, file handling in C, macros, parameterized and non-parameterized macros, and file input/output functions like fprint() and fscan

Uploaded by

Zeeshan
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)
34 views3 pages

MasterProgramming - in - H-100-21 BCA I Paper III

This document contains questions for an annual C programming language exam. It is divided into 5 units. Unit 1 covers the basic structure of a C program, type casting and its different types, as well as data types, constants, and variables. Unit 2 asks about branching statements like if-else and the differences between call by value and call by reference. Unit 3 covers arrays, their declaration and initialization, differences between structures and unions, and string concatenation. Unit 4 discusses pointer arithmetic, dynamic memory allocation, and pointer to functions. Finally, Unit 5 asks about files, file handling in C, macros, parameterized and non-parameterized macros, and file input/output functions like fprint() and fscan

Uploaded by

Zeeshan
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/ 3

MasterProgramming.

in

Unit-II
H-100-21 Roll No. ....................... ANNUAL (a) What is branching statement ? Explain various types
of if-else statement with syntax and example.
EXAMINATION, 2021 (b) Write difference between call by value and call by
reference.
B.C.A. I (c) Write short notes on the following :
B.C.A. 103
(i) Unconditional jump,
Paper III
(ii) Exit function,
(Programming in ‘C’ Language)
(iii) User defined function.
Time : 3 Hours] [Maximum Marks : 80
Unit-III
Note : Attempt any two parts from each unit. All questions 3. (a) What is Array ? Explain declaration, initialization and
carry equal marks. accessing elements of one and two dimension of
numeric Array.
Unit-I
1. (a) Explain basic structure of a C program with example. (b) Write difference between structure and union.

(c) Write a program to concatenate one string to


(b) What is type casting ? Explain different types of
another string without using library function.
type casting.

(c) Write short notes on the following : Unit-IV


(i) Data Type, 4. (a) Explain Pointer Arithmetic with suitable example.

(ii) Constant, (b) Explain Dynamic memory allocation function with


suitable example program.
(iii) Variable.
[2]
MasterProgramming.in

P. T. O. H-100/21
[3]

(c) Explain Declaration, Initialization of pointer to


function with syntax and example.

Unit-V
5. (a) What is file ? Explain file handling in C language.

(b) What is Macro ? Explain parameterized and non


parameterized macro.

(c) Explain about fprint() and fscanf() function with


suitable example.

✪✪✪✪✪ c ✪✪✪✪✪
MasterProgramming.in

H-100/21 3 / 50

You might also like