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 for loop and its syntax?
Why and when is a virtual destructor needed?
What is class and object in oops?
What is this pointer in oop?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}
can you explain how to use JavaBean in Project
what is the difference between function template and template of function?explain with example.
What is Virtual Keyword?
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
What is destructor give example?
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
what is new operator in c++