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
What is a macro in c preprocessor?
What’s the special use of UNIONS?
Write a program with dynamically allocation of variable.
How do I send escape sequences to control a terminal or other device?
Explain the binary height balanced tree?
What is selection sort in c?
In C programming, what command or code can be used to determine if a number of odd or even?
What is the difference between ++a and a++?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
hi any body pls give me company name interview conduct "c" language only
What are the 5 types of inheritance in c ++?
What do you know about the use of bit field?
Is c weakly typed?
What was noalias and what ever happened to it?