To maintain compatibility wid c Mr. Bajarne introduced a new keyword in c++ named c++ and while using c++ compiler u can use struct same as class