WorksheetsDay3_I/O Operations
Total questions: 11
Worksheet time: 7mins
0
1
Undefined behaviour
Compile time error
Compile time error
Whatever character getchar function returns
Ascii value of character getchar function returns
2
float
short int
Undefined behaviour
Compile time error
Compile time error
1
2
Undefined behaviour
returns 1
returns 2
Varies
Compile time error
a
b
c
d
In expression i = g() + f(), first function called depends on __________
Compiler
Associativity of () operator
Precedence of () and + operator
Left to write of the expression
Which of the following is treated as a real number by default?
float
long
double
long double
compile error
10
11
0
Welcome to Dataflair
Compilation error
DataFlair C programming
Welcome DataFlair to programming
Which of the following is not necessary for every C program?
Header file
Preprocessor directive
The main function
The use of a keyword
