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

officer say me - i am offered to a smoking , then what can you say

1588


What is polymorphism in oops with example?

539


What are functions in oop?

594


write a program that takes input in digits and display the result in words from 1 to 1000

2000


What is purpose of inheritance?

653






What language is oop?

603


What is the difference between static polymorphism and dynamic polymorphism?

591


Why multiple inheritance is not possible?

614


What does and I oop mean?

626


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3564


Why is encapsulation used?

585


What is the difference between procedural programming and oops?

570


What is encapsulation in ict?

618


what are the ways in which a constructors can be called?

1590


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1647