Is defining a variable within a block scope supported by all compilers?

Posted by Jay on Stack Overflow See other posts from Stack Overflow or by Jay
Published on 2010-04-12T09:10:46Z Indexed on 2010/04/12 9:13 UTC
Read the original article Hit count: 293

Filed under:
|
|

Suppose I want to declare and define a variable with an if condition block. Will this compile in all compilers?

What does the C standard say about this?

© Stack Overflow or respective owner

Related posts about c

    Related posts about variable-definition