26/09/2015
Gear up for Round 2 which will be held on 29,30 sep at CBIT,Hyderabad!!!
Here are few sample questions of round 2 !!! Have a look !!
What is meaning of following declaration?
int(*ptr[5])();
(A) ptr is pointer to function.
(B) ptr is array of pointer to function.
(C) ptr is pointer to such function which return type is array.
(D) ptr is pointer to array of function.
What is the output of this C code?
int main()
{
int i = 10;
void *p = &i;
printf("%f\n", *(float*)p);
return 0;
}