First of all, I accept that this is a too simple question but I got different opinions in different books and so I'm posting it here......
The question is simple.....Is C a block structured language?
But the answers by different authors differ like a pendulum (some say YES while others say NO to this question)
For example.........
Herbert schildt in "C++-Complete reference" says-->
In your previous programming experience, you may have heard the term block-
structured applied to a computer language. Although the term block-structured
language does not strictly apply to C, C is commonly referred to simply as a
structured language. It has many similarities to other structured languages, such
as ALGOL, Pascal, and Modula-2.
The reason that C (and C++) is not, technically, a block-structured language is that
block-structured languages permit procedures or functions to be declared inside
other procedures or functions. Since C does not allow the creation of functions
within functions, it cannot formally be called block-structured.
Another book said simply----->
"C is block structured language"
My C faculty said--->
C is not block structured languges
In many other books and tutorials, I found similar answers.
So please tell me whether C is a block structured language?
THANKS in advance.........