Microsoft Company Programming Technical

What is the minimum no of stack of size n is needed to make a queue of size n?
1 or 2 or 3 or 4

Read Solution (Total 5)

Microsoft Other Question

#include
#include
#define MAX(x,y) (x)>(y)?(x):(y)
int main()
{
int i=10;
int j=5;
int k=0;
k=MAX(i++,++j);
printf("
%d %d %d",i,j,k);
return 0;
}


One family went for a vacation, totally 13 days rained. If rain comes in evening they wont enjoy next day morning & vice versa. 14 days evening & 12 days morning they enjoyed then total days?