answersLogoWhite

0

A structure is not an array. Individual array elements are accessed through a number, called a "subscript". This subscript can be a constant, or a variable, or any expression that can be evaluated to give an integer.

A structure is not an array. Individual array elements are accessed through a number, called a "subscript". This subscript can be a constant, or a variable, or any expression that can be evaluated to give an integer.

A structure is not an array. Individual array elements are accessed through a number, called a "subscript". This subscript can be a constant, or a variable, or any expression that can be evaluated to give an integer.

A structure is not an array. Individual array elements are accessed through a number, called a "subscript". This subscript can be a constant, or a variable, or any expression that can be evaluated to give an integer.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How can an individual structure member be accessed in terms of its corresponding pointer variable?

By dereferencing the pointer variable. This can be achieved in two ways: typedef struct s { int i; float f; }; void f (struct s* p) { int x = p->i; /* using pointer to member operator */ float y = (*p).f; /* using dereference operator */ } The two methods are functionally equivalent.


What is the difference between the structure tag and structure variable?

The structure tag is a type. The structure variable is an instance of that type.


Is the part of the program in which a variable may be accessed?

Your class, enum or getter methods.


Is the weight of 80 pineapples individual or variable?

variable


What is the difference between individual and a variable?

An individual is a member of the population of interest. A variable is an aspect of an individual subject or object being measured.


What is a structure variable in computer programming?

A structure variable is a name that refers to a data structure. For example: struct S {/*...*/}; int main (void) { S x; /* x is a structure variable that refers to an instance of the structure S */ // use x... return 0; }


What is the purpose of public in java programming?

Public, Protected, and Private specify what has access to a routine or variable. Public is the most generous, meaning that variable or routine can be accessed from both inside and outside that program. Protected means that the variable or routine can be accessed broadly within the program, but not from outside. private means that variable or routine is only accessible to routine it is part of.


Can you answer any array programs?

Please ask more specific questions. An array is a variable that holds not one value, but a list of values; the individual items are accessed with a subscript, for example, MyArray[0], MyArray[10], etc.


Write the difference between global variable and static variable in context to function with suitable example?

Static VariableA variable that exists in only one location and is globally accessible by all instances of a class and also a variable for which memory remains allocated as long as the program executes.Global VariableA variable that can be accessed by all parts of a program so it does not belong to any subroutine in particular and can therefore can be accessed from any context in a program


Pass a structure to functions?

Passing Structure to a function:type specifier function-name (structure-variable);


How do pointer work in c program?

Pointer can be defined as variable that is used to store memory address , usually the location another variable in memory. Pointers provide a means through which memory location of a variable can be directly accessed.


What is A part of a program in witch a variable may be accessed?

The part of a program in which a particular variable may be accessed is called the 'scope' of the variable. In most cases, the scope of a variable is limited to the function within which it was created, or any function it is passed to as an argument. You can also use global variables, which can be accessed from any part of the program and have 'global scope'. However, this is generally considered as poor programming practice, and should be used cautiously and sparingly as it tends to make code difficult to read and maintain.