Company: Infosys Technologies Ltd

INFOSYS Placement Paper 2009 (Technical – C)

Infosys C Skills Questions:

True or false question:
1. Maximum number of nodes in a binary tree with height 3 is 20:
Ans: False

2. 10,20,30,40,50,60 : give the order when put in a queue and in a stack
Ans : Queue : 10,20,30,40,50,60 stack : 60,50,40,30,20,10

3. Debugging is the process of finding which type of errors?
Ans : logical and runtime errors

4. Find out the error in the following:
void main(){ int &a; /* some other stuff here */ }
Ans: syntax error

5. A problem with a function named mysum will be given and asked to find the value of main() for an argument of 150,
Ans : 150

6. For loops related programs.

7. A problem on conditional inclusion.

8. Problem related to depth first and breadth first search (DSA subject)

9. Syntax of malloc function

10. locate the error int arr (20);
Ans: syntax error.