Tagged: array

0

Php – Array Variable Type

We have used single value variable types up to now. But the real world problems may need different solutions and variables then those. We generally define,use multiple and a lot of values. Defining one by one variable is not a practical solution for these situations. For example we want to...

0

C – Arrays

Arrays are different from primitive types like integer,chars. Arrays provides fixed length sequential data. All of the data is same type. We can think array like a same type list. Arrays uses indexes to specify specific item in array. Declaring Arrays There is two must do to define array. One...

0

C String Variable Type

String is multiple characters added together. “Hi Poftut” is a string. Actually C do not direct String type but character type is used to store single and multiple characters. Character Character types is defined with char keyword. Single character will hold 1 byte in the memory. Character type normally hold ASCII...

0

Linux Bash Arrays and Elements

Creating variable is easy and very useful to make simple applications. If the variable count goes up managing variables becomes pain. Think that if the variables count is higher than 100 how easily can be created, assigned. There is a simpler usage for multiple variables. It is called array. An...

0

Javascript Array Variable Types

While programming we generally need to use multiple even several hundred variables of single type. Should we define one variable for each value? No. We can use arrays which can hold multiple values in a single variable. An array is string of values. So it gives the flexibility to store...

0

Python JSON Encoder and Decoder Tutorial with Examples

JSON or Javascript Object Notations is a RFC standard which is used to define complex data types with number 7159.  JSON became very popular in recent years because of its compatibility and simplicity. Python have rich support web applications and popular framework Django is developed with python too. So we generally...

0

How To Shuffle/Randomize Array in PHP

There are different ways to randomly select elements of an array in PHP. But recurring elements are biggest problem most of them. Here the clean and PHP library supported solution for this. We will use shuffle() function which will change the positions of the given array. Shuffle Example shuffle() function accept only...

Enjoy this blog? Please spread the word :)