Code blocks

Originally published at: http://www.itversity.com/topic/code-blocks/

As part of this topic we will see fundamental of programming – Code blocks Any thing that comes in the middle of { } is considered to be block of code A block of code can be assigned to a variable. Code will be evaluated first and then the value will be returned to variable It…