using class keyword while object is created in c++ #cppprogramming #cplusplus #coding

preview_player
Показать описание
JOIN ME
—————

COMPLETE PLAYLIST
————————————
C++ Tutorial For Beginners :
STL (Standard Template Library) :

INTERVIEW PLAYLIST
————————————

QUICK SHORT VIDEOS
————————————-

In this quick video we will learn that using class keyword at the time of object creation is ok and in next video we will learn that how important it is.

#cppprogramming #programming #cprogramming #interview #cplusplus
Рекомендации по теме
Комментарии
Автор

I suppose that's because of the fact that C needed "struct" keyword before you declared struct variables.
Because of backwards compatibility C++ would adopt it and since structs and classes are basically the same thing they also added support for class keyword there.

Kitsmena
join shbcf.ru