Font size
WorksheetsROUND 2
Total questions: 10
Worksheet time: 3mins
Which of these is not a correct variable data type?
int
float
real
char
C is a
Low level language
Assembly language
Medium level language
High level language
Which punctuation ends most of the lines of C code?
.
;
,
" "
The starting point of C execution at
==
main()
function()
!=
Type four arithmetic operators sorting by their operation name *without space(like addition a first, so '+')
(a)
Prewritten packages are imported to program by using which symbol
Hint: Header Files
%
-
#
//
Find if the condition is True or False where int x=10; y=12;
x == y
1 (True)
0 (False)
Find if the condition is True or False where int x=10; y=12;
x < y
1 (True)
0 (False)
What do you think is the output for the below code snippet?
int main(){
int a=10,b=20;
printf("%d", b/a);
}
Error
0.2
2
30
What do you need to import stdio.h a header file?
Just a waste of time
To run the code
It helps in compilation to binary coded file
To perform input and output operations
