#include using namespace std ; class house { public: int noOfRooms ; house(int noOfRoomsP ) { //noOfRooms = noOfRoomsP ; } }; int main() { house houseObject( 3 ) ; cout << houseObject.noOfRooms << endl ; return(0) ; }