Variables & Operators in Golang

  • date 22nd March, 2021 |
  • by Prwatech |
  • 0 Comments

Prerequisites

Hardware : Local Machine

Software : VS Code, Golang

Variable Declaration

Output :

Variable declaration with var keyword.

Output :

Mixed variable declare

Output :

Scope of variable

Output :

String declaration

Output :

Operators

Using * operator [Multiply]

Output :

Logical AND operator [&&]

Output :

Increment [++] and decrement [- -] operator

Output :

Logical operators

Output :

Shift operator

Output :

Bitwise Operators

Output :

Quick Support

image image