Write one statement equalent to the following two statements
x=sqr(a);
return(x);
Choose from one of the alternatives
a.return(sqr(a));
b.printf("sqr(a)");
c.return(a*a*a);
d.printf("%d",sqr(a));

Answer Posted / saranya

both a and d is possible
a: which returns the value of sqr(a)
d:it prints the value of the sqr(a)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain built-in function?

583


Explain what is a program flowchart and explain how does it help in writing a program?

641


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

4485


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1779


How do you determine whether to use a stream function or a low-level function?

636






What is the ANSI C Standard?

769


When do we get logical errors?

629


What does volatile do?

556


Can you please compare array with pointer?

608


What is f'n in math?

610


Explain what is a pragma?

583


Why do we use & in c?

580


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1591


How can I find out the size of a file, prior to reading it in?

611


What is include directive in c?

635