JavaScript
let fruits=["Apple","Mango","Banana"];
console.log(fruits[0]);JS array, C++ array, Python list, PHP array comparison
All four languages can store multiple values together, but the name and syntax may differ.
One classroom attendance register can store many student names.
Do not confuse position count with index. First value is usually index 0.
let fruits=["Apple","Mango","Banana"];
console.log(fruits[0]);string fruits[3]={"Apple","Mango","Banana"};
cout<<fruits[0];fruits=["Apple","Mango","Banana"]
print(fruits[0])<?php
$fruits=["Apple","Mango","Banana"];
echo $fruits[0];
?>Meaning same. Syntax changes.