How does drupal 7 know its version? which file does it check? Hi Im just curious to know where is the metadata of the version info, where does drupal have defined its version in the files...
The VERSION constant is defined on line 11 of bootstrap.inc:

/**
 * The current system version.
 */
define('VERSION', '7.41');