How to represent nested submodules in Yang

I have a module A. Module A has sub-module B and sub-module B is again has sub-module say C. C’s parent is B.

Use the include statement from the submodule. See https://tools.ietf.org/html/rfc7950#section-5.1