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 / pradeep kumar.s
My Option Is d
since the printf statement is capable of having two
functionalities
1, display the message in output screen
2, calls the function and return the answer here.
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What does main () mean in c?
What does the file stdio.h contain?
What are the types of pointers?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is context in c?
can we change the default calling convention in c if yes than how.........?
Write a code on reverse string and its complexity.
There seem to be a few missing operators ..
Write a program to print "hello world" without using a semicolon?
Is void a keyword in c?
Why double pointer is used in c?
Is c still relevant?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is variable declaration and definition in c?