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
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Explain what are header files and explain what are its uses in c programming?
What is the difference between typedef and #define?
How can I direct output to the printer?
Explain what is meant by high-order and low-order bytes?
What are the disadvantages of a shell structure?
How can I use a preprocessorif expression to ?
What is union in c?
Difference between malloc() and calloc() function?
how to create duplicate link list using C???
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What are linked lists in c?
Write a program to reverse a string.
What is difference between stdio h and conio h?
What does void main () mean?