The Monarch of BR Hills


Sometimes things don’t work out as planned and all you can do is just wait for everything to fall in place. From the last week of December, 2016 I had made plans to visit BR Hills. I had heard from friends and over the Internet that the ride to BR hills was beautiful and cannot… Continue reading The Monarch of BR Hills

The Curious Case of Preprocessors


What would be the output of the following code snippet: #include <stdio.h> #define V 1 int main() { int Value = 1; #if V == Value printf("Hello world\n"); #endif // V return 0; } If you guessed that the program will print "Hello world" you are wrong. The reason being #if is a preprocessor directive… Continue reading The Curious Case of Preprocessors