Posts Tagged ‘Programming’

C# programming skills? Test them!

Posted on July 7th, 2009 by Sandeep in Puzzle

int main()
{
      int i, n = 20;
      for (i = 0; i < n; i–)
           printf(“*”);
      return 0;
}
Change OR add only one character and print ‘*’ exactly 20 times.
There are atleast 3 solutions to this problem :-)