Any idea why I get \"Maya is not Maya\" as a result of this code?
if (\"Maya\" == \"Maya\") printf(\"Maya is Maya \\n\"); else printf(\"Maya is not Ma
C and C++ do this comparison via pointer comparison; looks like your compiler is creating separate resource instances for the strings "Maya" and "Maya" (probably due to having an optimization turned off).