(Paper) HCL Technical Placement Paper Pattern
PAPER :
HCL Technical Placement Paper Pattern
Section 1:
In this section there are
mainly questions based on C language like find
the errors in the program and what is the output of the following program.
some question i remember are
1) int i=10;
printf("%d %d %d",i++,i++,i--);
there is one or two more question on
increment operator
2) Two question on redirection
operator(>>)
3) int i=10;
if(1,i++,++i)
printf("The value for i is
%d",i);
4) one question on structure and u
have to fine the error in the syntax
5) int a=10,b=33;
a=a^b;
b=a^b;
a=a^b;
printf("%d %d", a,b);
6) int *a;
int (*b)();
printf("%d
%d",sizeof(a),sizeof(b);
7)
# define SQR(a) (a*a)
void main()
{
printf("%d", SQR(5));
}
8) And in another question # define
directive is declared in the main() function of the program and u have to
predict the output of the program.?
9) what is the time complexity of bubble
sort (Ans: O(n^2))
10)
What is the size of the address bus and data bus in 8086?
11) address of IVT in 8086?
Section II:

Daily JOBS





