Question { 6837 }
A Newyorker stays in 36th floor. Daily he goes to his office
by walk and returns. While raining, he takes the lift goes
to lobby and reaches by walk to his office. In the evening
he returns to the building, takes the lift and reaches his
apartment on 36th Floor. When it is summer, he takes the
lift, goes to lobby and reaches his office by walking. In
the evening, he returns home, takes the lift goes to 30th
floor and climbs all the six floors by stair case and
reaches his apratment. Why?
Answer
Is This Answer Correct ? | 4 Yes | 2 No |
Question { 6379 }
swapping of two numbers without using third variable using
AND and OR operators
Answer
Is This Answer Correct ? | 8 Yes | 8 No |
Question { 10448 }
main()
{
int i=5;
printf("%d%d%d%d",i++,i--,i);
}
Answer
Is This Answer Correct ? | 2 Yes | 4 No |
Question { 3782 }
main()
{
int i=0;
while(+(+i--)!=0)
i-=i++;
printf(i);
}
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
Question { InterGlobal, 5112 }
A stack can be implemented only using array?if not what is used?
Answer
Is This Answer Correct ? | 11 Yes | 0 No |
while initialization of two dimensional arrays we can
initialize like a[][2] but why not a[2][] is there any
reason behind this?
Answer
Is This Answer Correct ? | 4 Yes | 2 No |
Question { 5045 }
can we declare a function inside the structure?
ex: struct book
{
int pages;
float price;
int library(int,float);
}b;
is the above declaration correct? as it has function
declaration?
Answer
Is This Answer Correct ? | 4 Yes | 3 No |
Question { 4761 }
code for concatination of 2 strings with out using library
functions?
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { 6172 }
wat s the meaning of (int *)p +4;
Answer
Is This Answer Correct ? | 9 Yes | 0 No |
Question { 3254 }
What is Bitwise Operator and how it works?
Answer
Is This Answer Correct ? | 4 Yes | 0 No |
I have 3 duplicate records in a file .
I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
Answer
Is This Answer Correct ? | 16 Yes | 2 No |