I am DeePu sotware engineer working with EMC
corporation ,recently I had attended mcafee interview .
Their questions were at heights of stupidity , I don't know
what they want , I am a developer with 4 year
experienced .I am listing the questions asked

1:What is the flag in g++ to avoid structure padding
2:In wht order parameters are passed to stack
3:How you will edit code segment of an exe

Answer Posted / sandhya.v

2:
passing parameters on the stack is slightly less efficient
than passing those parameters in registers, the register
set is very limited and you can only pass a few value or
reference parameters through registers. The stack, on the
other hand, allows you to pass a large amount of parameter
data without any difficulty. This is the principal reason
that most programs pass their parameters on the stack.
3:
For this qustion ,there is a proper answer given in this
link
http://www.arl.wustl.edu/~lockwood/class/cse306/mp/mp0/mp0.h
tml

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please send ford technologies placement paper 2 my mail id

1655


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2007


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1147


What is a class and object?

598


Why do we use polymorphism?

577






What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1983


Can abstract class have normal methods?

613


What is polymorphism what is it for and how is it used?

574


what is the 3 types of system development life cycle

2431


What is purpose of inheritance?

644


Write a program to sort the number with different sorts in one program ??

1916


What is multilevel inheritance?

726


What is the use of oops?

620


Explain virtual inheritance?

682


What is meant by multiple inheritance?

738