explain one dimensional arraysin one dimensional


Explain one dimensional arrays

In one dimensional arrays array name is really a pointer to the first element in the array. Second element of the array can be accessed by using *(x+1), third by using *(x+2) and so on. In the expression (x+i), x represents an address , whereas 'I' represents an integer quantity.  Moreover, x is the name of an array whose elements may be characters, integers, floating-point quantities etc. The expression (x+1) is a symbolic representation for an address specification rather than an arithmetic expression.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: explain one dimensional arraysin one dimensional
Reference No:- TGS0305549

Expected delivery within 24 Hours