Safcode | Code Your Ideas by Sir Safder


Test Your Programming Skills with Safcode!


Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"



Quiz Start


Constants
Local variables
Formal parameters
Macros

View Answer

call by function
call by name
call by reference
call by procedure

View Answer

Extern
Register
Static
Auto

View Answer

stdout
stderr
stdin
all of the above

View Answer

Ken Thomson
peter Norton
Dennis Ritchie
Von Neuman

View Answer

conio.h
string.h
stdio.h
iostream.h

View Answer

A function can have multiple return statements with different return values
The main() function can be called recursively
The maximum number of arguments a function can take is 128
Functions cannot return more than one value at a time

View Answer

Variable
Block
Array
Structure

View Answer

-1.7e-328 to +1.7e-328
-1.7e-348 to +1.7e-348
-1.7e-308 to +1.7e-308
-1.7e-328 to +1.7e-328

View Answer

Instruction
Struct
All of them
Code of block

View Answer

None of these
Free()
Malloc()
Calloc()

View Answer

8 bytes
6 bytes
10 bytes
4 bytes

View Answer

!
%
||
&

View Answer

char
int
float
void

View Answer

Nesting
Inner
None of them
Outer

View Answer

for
switch
goto
do

View Answer

fabs()
ceil()
abs()
floor()

View Answer

calloc()
memadjust()
malloc()
realloc()

View Answer

math.h
conio.h
string.h
stdio.h

View Answer

static
volatile
extern
const

View Answer