Go Back   2023 2024 MBA > MBA > Main Forum

  #1  
Old 16th November 2015, 11:56 AM
Unregistered
Guest
 
Default HCL placement previous year question papers free download

Hello, I am giving the HCL placements exam and I want the previous years papers, which are free to download.
Reply With Quote Quick reply to this message
  #2  
Old 16th November 2015, 11:59 AM
Super Moderator
 
Join Date: Jul 2012
Default Re: HCL placement previous year question papers free download

Hello, here I am proving the sample questions which were asked in the last exams of HCL placements as under:

1. Which of the following about the following two declaration is true
i ) int *F()
ii) int (*F)()
Choice :
a) Both are identical
b) The first is a correct declaration and the second is wrong
c) The first declaraion is a function returning a pointer to an integer and the second is a pointer to function returning int
d) Both are different ways of declarin pointer to a function
Answer : c)

2. What are the values printed by the following program?
#define dprint(expr)
printf(#expr "=%d\n",expr)
main()
{
int x=7;
int y=3;
dprintf(x/y);
}
Choice:
a) #2 = 2
b) expr=2
c) x/y=2
d) none
Answer: c)x/y=2

3. Which of the following is true of the following program
main()
{
char *c;
int *ip;
c =(char *)malloc(100);
ip=(int *)c;
free(ip);
}
ans: The code functions properly releasing all the memory allocated

4.output of the following.
main()
{
int i;
char *p;
i=0X89;
p=(char *)i;
p++;
printf("%x\n",p);
}
ans:0X8A

5.which of the following is not a ANSI C language keyword?
a) Incorrect definition
b) structures cannot refer to other structure
c) Structures can ref
er to themselves. Hence the statement is OK
d) Structures can refer to maximum of one other structure
Answer :c)

6. What is the size of the following union.
Assume that the size of int =2, size of float =4 andsize of char =1.
Union Tag{int a;flaot b;char c;};
a)2
b)4
c)1
d) 7
ans : b.)

7. What is the output of the following program? (.has been used to indicate a space)
main()
{
char s[]="Hello,.world";
printf(%15.10s",s);
}
a)Hello,.World...
b)....Hello,.Wor
c)Hello,.Wor....
d)None of the above
ans: b.) total 15 spaces and print only 10 characters.

8. If taxi fares were Rs 1.00 for the first 1/5 mile and Rs 0.20 for each 1/5 miles thereafter. The taxi fare for a 3-mile ride was
(A)Rs 1.56
(B)Rs 2.40
(C)RS 3.00
(D)Rs 3.80
(E)Rs 4.20
Answer :d)Rs 3.80

9. A computer routine was developed to generate two numbers (x,y) the first being a random number between 0 and 100 inclusive, and the second being less than or equal to the square root of the first.Each of the following pair satisfies the routine EXCEPT
(A) (99.10)
(B) (85.9)
(C) (50.7)
(D) (1.1)
(E)(1.0)
Answer : A) (99.10)

10. A warehouse had a square floor with area 10,000 sq.meters. A rectangular addition was built along one entire side of the warehouse that increased the floor by one - half as much as the original floor.How many metersdid the addition extend beyond the original buildings ?
(A)10
(B)20
(C)50
(D)200
(E)500
Answer: c)50


Here are some of the paper which are free to download:
HCL placement previous year question papers
Attached Files
File Type: doc HCL placement previous year question papers.doc (27.0 KB, 95 views)
Reply With Quote Quick reply to this message
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
State Bank of India Clerk exam previous year question papers free download Unregistered Main Forum 2 23rd November 2019 02:36 PM
IGNOU MBA Previous Year Solved Question Papers Free Download neetu Main Forum 2 17th April 2018 04:18 PM
JNTU MBA Previous Year Question Papers Free Download kavita Online MBA Discussions 2 17th April 2018 04:09 PM
MBA CET Previous Year Question Papers Free Download munna Main Forum 2 9th April 2018 03:00 PM
Anna University Chennai MBA Previous Year Question Papers free download mamta Online MBA Discussions 2 9th April 2018 10:50 AM
IGNOU MBA Previous Year Question Papers Free Download kavita Online MBA Discussions 2 5th April 2018 11:27 PM
TANCET MBA previous year question papers free download neetu Main Forum 2 5th April 2018 11:08 PM
LIC AAO Exam Previous Year Question Papers Free Download Unregistered Main Forum 2 4th April 2018 09:13 PM
Free Download NDA Previous Year Papers Unregistered Main Forum 2 8th March 2018 04:03 PM
VITMEE Previous Year Question Papers Free Download Unregistered Main Forum 1 7th October 2016 12:49 PM
Previous year placement papers of Wipro free download Unregistered Online MBA Discussions 1 21st November 2015 11:46 AM
Previous year placement question papers of Tech Mahindra Unregistered Online MBA Discussions 1 20th November 2015 03:57 PM
Placement previous year question papers of Wipro Unregistered Main Forum 1 12th November 2015 02:55 PM
L&T Infotech placement previous year question papers Unregistered Main Forum 1 10th November 2015 10:06 AM
IBM previous year placement question papers Unregistered Main Forum 1 9th November 2015 04:39 PM
Philips Previous Year Placement Exam Question Papers Unregistered Main Forum 1 9th November 2015 01:59 PM
Previous year placement question papers with solutions of Infosys Unregistered Main Forum 1 20th October 2014 01:09 PM
Accenture previous year placement question papers free download Unregistered Main Forum 1 20th October 2014 12:26 PM
Tata Consultancy Services previous year placement question papers free download Unregistered Main Forum 1 20th October 2014 12:25 PM
Karnataka SSLC previous year question papers in PDF format free download Unregistered Main Forum 1 12th October 2014 11:28 AM


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5.5. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2