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 send ford technologies placement paper 2 my mail id
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is a class and object?
Why do we use polymorphism?
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(); }
Can abstract class have normal methods?
What is polymorphism what is it for and how is it used?
what is the 3 types of system development life cycle
What is purpose of inheritance?
Write a program to sort the number with different sorts in one program ??
What is multilevel inheritance?
What is the use of oops?
Explain virtual inheritance?
What is meant by multiple inheritance?