TCS Company Category

If x^y = y^x and x = 2y, the value of y is:
Option 1 : 1 Option 2 : 2 Option 3 : 3 Option 4 : 4 Option 5 :
None of
these

Read Solution (Total 12)

TCS Other Question

Find the OutPut.
int num1 = 32;
int num2 = 41 ;
int sum=0;
int num=0;
int temp=0;
int rem=0;
for(int i = num1 +1 ; i
If f(x) = sum of all the digits of x, where x is a natural number, then what is the value of f(101)+f(102)+f(103)+ .. +f(200)?
Option 1 : 1000 Option 2 : 784 Option 3 : 999 Option 4 : 1001