Documente Academic
Documente Profesional
Documente Cultură
2) printf() belongs to
a) ctype.h
b)string.h
d) stdio.h
d) conio.h
3) printf(%d,printf(my first c program))
Will show the output
a) 18 b) 15
c) will generate error d) none if these
4) int is a
a) keyword
c) data type
b)identifier
d) none of these
5) \r is used for
a) backspace
b)carriage return
c) tab
d) new line
6) how many data types do we have in C
a) 3
b) 2
c) 1
d) 4
7) && is
a) bitwise operator
c) AND
8) ++I is
a) preincrement operator
c) predecrement operator
b) OR
d)none of these
b) post increment operator
b) post decrement operator
9) int x,a=4;
x=(a>=4)?2:3;
shows that
a) 0 b) 3
c) 2 d)1
10) integer takes
a) 4 bytes
b) 1 bytes
c) 2 bytes
d) 0 bytes
11) Formal Parameter is declared in
a) function prototype
b) function definition
c) function calling
d) none of this
b) 012
d) 0
b) homojeneous elements
d) none of these
b) logical operators
d) conditional operator