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));
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
How do you determine a file’s attributes?
What are keywords in c with examples?
How are Structure passing and returning implemented by the complier?
How can you tell whether two strings are the same?
how many errors in c explain deply
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *
what is the difference between #include<stdio.h> and #include "stdio.h" ?
Not all reserved words are written in lowercase. TRUE or FALSE?
Write programs for String Reversal & Palindrome check
why do some people write if(0 == x) instead of if(x == 0)?
Why is the code below functioning. According to me it MUST NOT.