Hi all it was technical interview on google hangout after an online mcq test which contained two sections technical and apti.
Well I'm gonna share all questions which I was asked and my friends were asked
1. A probability questions, out of 70 students (40 boys 30 girls) you have to select 10 students out of 10 one person has to be selected . what is prob. that the one person is boy?
There were some riddles asked you can see all those on webriddles.com
2. some questions based on file concept in C.
FILE *fp;
while((i=fgetc(fp))!=NULL) printf("%c",i);
what will be output of above.
3. one question was on fseek function.
fseek(fp, -3L , SEEK_CURR);
i didn't knew about L.
4. output of printf("%d",scanf("%d",&i)); if i is given as 25 answer is 2
5. what is output of
float f;
f=10.10f;
printf("%f",f);
6. what is op of
printf("%%%%");
7. some programs based on linked list.
8. implement stack using 2 queue
9. some random questions like
what is probability that you will see UFO tommorrow?