Sunday, April 25, 2004

Updates and the C question

Its been extremely long since I posted something. I have been extremely
busy with a lot of things. I think I found a proof for the fact that there exist
an infinite number of twin primes. I am not sure if this proof has been
discovered at all.

I have been working with mathematical analysis on my own and I am
stuck with Topology, Bolzano Weierstrass theorem.

Enough of mathematics, I found a very interesting thing about
the C PreProcessor

Lets say, you have the following code


#define a b
#define b a

int
main(void)
{
int a, b;
return 0;
}


What do you expect a and b to be replaced as?

Answer in the next blog

Ranking and Unranking permutations

I've been a big fan of Skiena's Algorithm Design Manual , I recently found my first edition of the book (although I own the third ed...