inheritence syntex in c++ code example Example: what is syntex for inheritence in c++ class subclass_name : access_mode base_class { //body of subclass };