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: 10
Each question carry 10 mark , no negative marking"


Quiz Start


float
int
void
char

View Answer

Local variables
Macros
Constants
Formal parameters

View Answer

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

View Answer

const
extern
volatile
static

View Answer

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

View Answer

Dennis Ritchie
peter Norton
Von Neuman
Ken Thomson

View Answer

p = n * (n-1) / 3 * (n-2) / 2;
p = n * (n-1) / 2 * (n-2) / 3;
p = n * (n-1) * (n-2) / 6.0;
p = n * (n-1) * (n-2) / 6;

View Answer

3
4
0
1

View Answer

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

View Answer

goto
for
switch
do

View Answer