Archive for fundamental questions and answers

You are browsing the archives of fundamental questions and answers.

Complete Java questions collection

Complete Java programmer interview questions
1. What is the purpose of finalization?
- The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.
2.What is the difference between the Boolean & operator and the && operator?
- If an expression involving the Boolean & [...]

Quantitative Aptitude questions and answers

Quantitative Aptitude  questions and answers

1. It was calculated that 75 men could complete a piece of work in 20 days. When work was scheduled to commence, it was found necessary to send 25 men to another project. How much longer will it take to complete the work?
2. A student divided a number by 2/3 when he required to multiply by 3/2. [...]

technical aptitude c questions

111) void pascal f(int i,int j,int k)
{
printf(“%d %d %d”,i, j, k);
}
void cdecl f(int i,int j,int k)
{
printf(“%d %d %d”,i, j, k);
}
main()
{
int i=10;
f(i++,i++,i++);
printf(” %d\n”,i);
i=10;
f(i++,i++,i++);
printf(” %d”,i);
}
Answer:
10 11 12 13
12 11 10 13
Explanation:
Pascal argument passing mechanism forces the arguments to be called from left to right. cdecl is the normal C argument passing mechanism where the arguments are passed [...]