Aptitude Question:
Download Questions PDF

These ques were asked in the Intuit paper. There were 11 ques:
1. Write a C function(statement given) for definition of strlen(used to return the leanth of a null character terminated ASCII string):
unsigned int strlen(char *str)
2.U have a rectangular board with a rectangular hole in it(could be anywr at any inclination). Draw a single straight line to cut the solid are into 2 equal halves.
3.what is the output of the following prog?
#include
void main()
{
int i=10;
int j=i%2;
if (j==0)
cout<<"Got it:"< else
cout<<"out it:"< }

Answer:

in c++ programming language #incude<iostream.h> is must so it give error

Download Aptitude Interview Questions And Answers PDF

Previous QuestionNext Question
Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament.Of the three games played:

a)In only the first game werethe two players married to each other.
b)The men won two games and the women won one game.
c)The Ayes won more games than the Bees.
d)Anyone who lost game did not play the subsequent game.

Who did not lose a game?
In class of 10 students, the teacher writes a number on the board. The first student tells that the number is divisible by 1, the second student tells that the number is divisible by 2, the third by 3, the forth by 4 and so on till 10. If the statement of one of the students in wrong then what is the least number possible?