adspace
What is the fallacy in the following program segment ?
int *f1()
{
int a=5;
return &a;
}
f()
int *b=f1()
int c=*b;
}
Answer Posted / vaishav bachhav
function f() has no opening brackets.
and the first line of f() has no semicolon.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
please send me latest Aptitude Test paper
Hi, I am appearing for the ISRO exam for the post of Scientist/ Engineer to be held on 26th April,09. Can anyone help me regarding the same? I want to know about the exam pattern and the syllabus. If anyone could share your experience or sample papers for the same at khadhar786@rediffmail.com? It would be very useful for me. Thanks.
who is your role modal give in few sentances
Please if anybody have Vizag Steel Entrance exam papers or atleast Pattern of exam.Then please forward to my email- id: :srikanth.avanthi@gmail.com
I am going to appear for ISRO written test on 26 th april 2009 .So kindly forward me sample previous question paper for ISRO for BE Computer Science . My mail id : jothychristiya@gmail.com
why u r shifting from engineering to other field ?
Hi All... PLease send me if anyone have "Information Security Officer" Aptitude papers. Please Mail me at mannusanghi@gmail.com
pls send me the e-book for verbal and non verbal reasoning of R S aggarwall
can anybody send me the technical papers of hewitt associates pls...I cleared aps n GD n has only less time for technical round?
Please explain why you are suitable for the position that you have applied for?
sir ,,kindly provide me 10 year old solved question papers of gate ,i am from CS. branch...
i need NIC written test paper or give me any idea about written exam.Plz send me at smileever8@gmail.com
please provide me the type of questions or question pattern of bally.
Hi i'm richa piplani applied for ATC(IT) if u have the syllabus & old question papers forward me.I will be very much thankful to you. piplani.richa@gmail.com and sonu_pips@yahoo.co.in
Draw the diagram showing the function stack, illustrating the variables that were pushed on the stack at the point when function f2 has been introduced . type def struct { double x,double y} point; } main( int argc, char *arg[3]) { double a; int b,c; f1(a,b); } f1(double x, int y) {point p; stack int n; f2(p,x,y) } f2(point p, double angle) { int i,j,k,int max;