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


void
int
float
char

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

void (*pointer) = &(int)function;
void (*pointer)(int) = &function;
void &function(*pointer) = int;
void function(*pointer) = int;

const
static
volatile
extern

Formal parameters
Local variables
Constants
Macros

short a = 10;
long short d = 40;
long double c = 30;
unsigned short b = 20;

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

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

%
!
||
&

4
0
1
3