TCS Company Programming Program

#include
int main()
{
int i,j;
for(i=0;i<5,i++)
i=j=i;
j=0;
printf("%d",j);
}

Read Solution (Total 15)

TCS Other Question

Write numbers from 100 to 365 in a sequence like 100101102103104105... 364365. How many
times the digit 9 occurs in the sequence?
After 6 years Raju’s father’s age will be twice that of the
his age and 2 years ago, his mothers age was twice that of
Raju’s age. What is the sum of Raju’s parents’ age?