Google MCQ Problem


Consider the following loop
  int count=0;
  for(i=0;i<10;i++)
   for(j=i+1;j<10;j++)
     for(k=j+1;k<10;k++)
    for(l=k+1;l<10;l++)
      for(m=l+1;m<10;m++)
     count++;
What is the value of count?

Comments

Popular posts from this blog

C Graph implementation with adjacency list representation using structures: Data Structure Tutorial 1

Interview with ACRush (Tiancheng Lou), the coding sensation!

Accessing DynamoDB from Spring Java application - Walkthrough tutorial