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 DeadlyDiamondDeathProblem ?
What are the features of oop?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5
What are the access specifiers avaible in c++?
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is cohesion in oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
What is multilevel inheritance explain with example?
Prepare me a program for the animation of train