I declared a static local variable named the same as a function parameter. The compiler didn't catch the error. Is this a bug?
It's not a bug; it is a problem with the C language itself. The local shadows the parameter.
Byte Craft LimitedCode Development Systems
|
||
NavigationSearchRecent blog posts |
I declared a static local variable named the same as a function parameter. The compiler didn't catch the error. Is this a bug?It's not a bug; it is a problem with the C language itself. The local shadows the parameter. |
DownloadsLooking for demos or updated software? See the Byte Craft Limited Depot
|