programming-in-c-2019
programming-in-c-2019
DCA (Part- 1)
Term End Examination, 2018-19
Paper V
Programming in "C'
20
Choose the corrrect answer of the following
questions
(a) int 3iET AISY TTr ... IgE 1
(i) 2
(it) 4
(iv) 6
(b) ++ 37teT H
(i) Increment
(i) Addition
(in) Plus
(iv) 30F 76i
++is called ... Operator.
(i) Increment
(i) Addition
(iii) Plus
(iv) None of the above
(c) Afea d aH Jumping edz *?
() Go
(i) For
(ii) Goto
402_BSP_(8) (Continued)
(3)
() <Math.h>
(i) <e type.h>
(ii) <string.h>
) int
(i) float
(ii) union
(iv) struct
keyword is used to declare structure.
( int
(i) float
(ii) union
iv) struct
Function called by
is . . .
() Function name
(i) Return
(ii) Void
(iv) None of the above
(g) afea i d indirection
()&
(ii)
(iv)
Which isindirection operator among8
an
the following?
(&
*
(i)
(ii)
(iv)
void main ()
int x= 0;
int *Ptr &x;
Printf%d", *Ptr)
int x= 0;
int *Ptr &x;
Printf"%d", *Ptr)
( Attribute zmf4T rd
() Name
(i) Type
(iin) Identified
( Name
(i) Type
(ii) Identified
(iv) All of the above
() fclose(0
(i) close()
(in) fstop()
fclose()
(i) close()
(iit) fstop()
(iv) None of the above
1/Unit-I
conditional TTer T relational 3TtET T
16
Explain conditional operator and relational
operator with example.
3. ffafsa 4HTE:
16
(a) Mathematical function
(b) Data types in C language
Explain the following:
(a) Mathematical function
(b) Data types in C language
402 BSP_(8)
(Continued)
(7)
F6TE/ Unit-II
4. Nested for loop 3E1ETT HEa FATEQ I 16
Explain Nested for loop with example.
5. C TT
Array T VHTUTA I I
l6
Write a
program in C for Arrays (For one
dimension array).
$h/Unit-II|
6.
(a) fopen(0
(b) fclose()
(c) File pointer
(d) Random access file in C
(a) fopen(0
b) felose(0
(c)File pointer
(d) Random access file in C
402_BSP_(8) 1,900