Check out example codes for "what does the modularity mean in c++". It will help you in understanding the concepts better.
Code Example 1
modularity means the written program can be splitted up in to modules by using classes and each class can be considered as a module.
Learn ReactJs, React Native from akashmittal.com