structure – POFTUT

Tagged: structure

0

Powershell Array Tutorial with Examples

Powershell arrays are used to store a collection of elements in a single variable. These elements do not to be the same type and declared in different ways. Create Array We will start with a simple example where we will create an array by providing the items. Items will be delimited with the comma. The array definition will start with a dollar sign $.

We can see that different...

0

C – Union

[rps-include post=6557] Union is a data type used to store different type of variables. Union is very similar to the struct but have some differences those have explained below. Union can contain int,char,float,… etc. in a single block. One union can contain single set of data at a time. Defining Unions Defining union is very similar to struct. We will use union statement. After union statement we will put union tag. After...

Enjoy this blog? Please spread the word :)