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 / 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 |
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++
why constructor cannt be declar virtually? why destructor cannt be overloaded?
what is virtual destructor
What is polymorphism in oop example?
What is polymorphism what is it for and how is it used?
What is destructor oops?
some one give d clear explanation for polymorphism
Name a typical usage of polymorphism
How oops is better than procedural?
How to hide the base class functionality in Inheritance?
What is a class oop?
What is object in oops?