TCS
Company
Logical Reasoning
Missing Character
Write one statement equivalent to the following two statements: x=sqr(a); return(x); Choose one of the alternatives out of these 4,
(a) return(sqr(a)); (b) printf("sqr(a)");
(c) return(a*a*a); (d) printf("%d",sqr(a));
Read Solution (Total 4)
-
- (a) return(sqr(a));
- 13 years agoHelpfull: Yes(8) No(0)
- return(sqr(a)); will do.
- 13 years agoHelpfull: Yes(3) No(0)
- (a)return(sqr(a));
- 13 years agoHelpfull: Yes(3) No(0)
- it will be return(sqr(a))
- 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question