ALTER placement papers ------- placement paper-1

ALTER placement papers ------- placement paper-1..

Answer / guest

ALTER placement papers

C questions

1. int b=10;
int *p=&b;
what is the output?

2. What is the difference between malloc,
calloc and realloc?

3. What does malloc return in C and C++?

4. main()
char *a="hello";
char *b="bye";
char *c="hai";
int x=10,y=100;
whats the output?

5. void main()
int a,b;
printf("%d %d",a,b);
int sumdig(int n)
static int sum;
int d;
return s;
what is the output?

6. Declare a pointer to a function that
takes a char pointer
as argument and returns a void pointer.

7. How do we open a binary file in
Read/Write mode in C?

C++ questions

8. class A
class derived:public A
what is wrong with this type of declaration?

9. what do you mean by exception

10. What are "pure virtual" functions?

11. What is the difference between member
functions and
static member functions?

12. What is the4 difference between delete[]
and delete?

13. Question on Copy constructor.

14. What are namespaces?

15. One question on namespace.

16. What are pass by valu and pass by
what is the disadvantage of pass by value?
I didnt get this. if you have the answer plz tell me.

17. How to invoke a C function using a C++

18. char *str;
char *str1="Hello World";
what is the output?

19. Difference between function overloading
and function overriding.

20. There is a base class sub, with a member
function fnsub(). There are
two classes super1 and super2 which are subclasses of the
base class sub.
if and pointer object is created of the class sub which
points to any
of the two classes super1 and super2, if fnsub() is called
which one
will be inoked?

ALTER placement papers

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Placement Papers Interview Questions

national informatic center

1 Answers  

TechMahindra Pattern & Interview {09/05/2007} {Bangalore}

3 Answers   Tech Mahindra,

Cmc Placement Paper July 2006 - Kurnool ---Placement Paper

1 Answers   CMC,

DESHAW placement papers --------- placement paper 4

5 Answers   Deshaw,


1 Answers  

oriental bank of commerce clerical paper

1 Answers   Oriental Bank Of Commerce,

Consagous Selection Procedure

1 Answers   Consagous,

miracle software solutions

3 Answers   Miracle Solutions, Miracle Software, Asha Chemicals,

The recruitment process of consagous had three rounds. 1. Group discussion 2. Written test 3. Technical interview/ HR The first round was GD. I got the topic “should India break up the friendly ties with Pakistan”. The group had 20 students. After the discussion each student was given a chance to express his/her views on the topic. The second round was written test. The paper was purely technical. It had a total of 50 questions. Out of which 5 questions were subjective. Those questions were: 1. What is RTTI? 2. What is containership? 3. Describe the lifecycle of page. 4. Why an empty structure occupy 2 bytes memory? 5. What is the difference btw compilation of C++ and C#? The objective questions had some programming questions. Other than that some questions that I remember are: • What is the complexity of binary search algo? • The factor that affects the complexity of an algorithm is a. The maximum amount of memory needed by the algorithm b. The minimum amount of memory needed by the algorithm c. The avg amount of memory needed by the algorithm d. The maximum amount of disc space needed by the algorithm • The class which is used to perform basic console I/O? Ans. System • Which is the first phase of s/w development lifecycle? Ans. Analysis This is all I remember….. The last round was interview. 46 students were selected for the interview. HR questions: • Describe yourself. • Did u held some leadership position in your college (because I mentioned that I was captain in school) • Then they read two aptitude questions(easy ones) and I had to answer them but the condition was that they were not going to repeat the question. • What is your short term and long term goals? • Why your marks decreased in college? • At last they asked about their company. Technical question: • What is the difference between C and C++. • What are access specifiers? • What is a static variable? • How can we define a variable globally? • What is a namespace and assembly? • What is an intermediate language? • Describe your project. • What is the difference between cookies and sessions? And many more……. Finally I got selected after this.

0 Answers   Consagous,


7 Answers   Huawei,


1 Answers   ICICI, HDFC,

faq of datawarehousing

1 Answers