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 Help Members By Posting Answers For Below Questions

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

1537


Dear frds In my office we are using chiller . in that chiller inlet and outlet water diff. is 2.5 decgree always. if i intduce the cooling tower can i get good result in chiller Inlet water. reply plz.

1473


pls send me rrb se(s&t)questions

1664


hi i have selected for nda and could please send me the courses offered in nda regarding engineering and all other courses????

1427


what in 4th and 5th normal form ??

1673






what is difference between value datatype and object datattype

1392


pls send me the e-book for verbal and non verbal reasoning of R S aggarwall

1713


How many codes are used when u design a Pressure Vessel

1365


what kind of questions generally asked for ME admission, (specially in RGPV).

1574


what is the different between view and materialized view in oracle DBA?

1235


how will u test the idoc

1564


How can write a C program that shows All the prime number?

1527


how to find out the name of the users who are currently working starting with the same characters in unix os

1379


Which is better field cad/cam in mechanical or film editing/animation is better salary wise?

1440


as a fresher what is the format for resume and suggest me some career objectives too........

1878