Array Basics (Declaration and Initialization) | Single Dimension | For Loop | C++

Published: 19 December 2020
on channel: COMFE
129
8

Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value.
To declare an array, define the variable type, specify the name of the array followed by square brackets, and specify the number of elements it should store:
int st[3]; // int is data type
// 'st' is the name of the array
// Square Bracket represent that this variable is an array
// Inside Square Bracket '3' represents the size of array interms of number of elements that this array can store.

SUBSCRIBE OUR CHANNEL:   / comfe  
LIKE OUR FB PAGE:  / comfecure  
FOLLOW ON INSTAGRAM:  / comfecure  


On this page of the site you can watch the video online Array Basics (Declaration and Initialization) | Single Dimension | For Loop | C++ with a duration of hours minute second in good quality, which was uploaded by the user COMFE 19 December 2020, share the link with friends and acquaintances, this video has already been watched 129 times on youtube and it was liked by 8 viewers. Enjoy your viewing!