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



I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee intervie..

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

Post New Answer

More OOPS Interview Questions

What is a scope resolution operator?

5 Answers   HP, IBS,


What is static in oop?

0 Answers  


c++ is a purely oop concept?

3 Answers   Google, TCS,


What are the advantanges of modularity

2 Answers  


What is inheritance in simple words?

0 Answers  






What is data binding in oops?

0 Answers  


Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?

2 Answers  


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

0 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


What causes polymorphism?

0 Answers  


Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?

4 Answers   EA Electronic Arts,


What is coupling in oop?

0 Answers  


Categories