Why C and C++ are not called as block structured languages?

In a block structured language a function can be declared inside another function. C and C++ don’t allow creating functions within functions. Hence, they are not considered as a block structured language. C and C++language are often called as a structured languages but never a block structured language.

Leave a Reply