Part 2
by interviewspreparation.com
Interview questions
Common coding
What is
Array ?
An array in coding is a collection of elements, typically of the same type, stored in contiguous memory locations
Int[] myArray;
myArray[0]=1;
myArray[1]=2;
myArray[N]=N;
What is
Variable ?
A variable in coding is a named storage for data values
Int age;
string yourName;
float yourHeight;
bool visitOurSite;
age, yourName, yourHeight, visitOurSite are variables.
What is
Local Variable ?
A local variable in coding is a variable declared
within a function or block, accessible only within that scope.
public void Test()
{
int _testCaseCout;
}
_testCaseCout is local variable.
Do check
Beginners levels
Coding questions
At
interviewspreparation.com
Thank You
Learn more