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)

TCS Other Question

The C language terminator is
(a) semicolon (b) colon (c) period (d) exclamation mark
There are two containers A and B. A is half filled with wine, whereas B which is 3 times the size of A contains one quarter portion wine. If both containers are filled with water and the contents are poured into container C, What portion of container C is wine? (Given that C is filled completely on pouring mixture of A and B)