If else statements without curly braces

It is also correct without braces, if there is only one statement under the if / else condition. but if you have to put multiple statement under the if / else condition then you must provide braces, without braces if / else condition will only read first statement and output will be different from asContinue reading “If else statements without curly braces”

Design a site like this with WordPress.com
Get started