answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: When you use a subscript value that is negative or higher than the number of elements in an array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

If structure is arraythen an individual array element can be accessed by writing a variable?

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.


How do you find greatest no using array in java?

Assume that the greatest number is the first element (subscript zero). Compare with each element in the array (starting with subscript one), and every time you find one that is greater than the greatest so far, set your variable "greatest" to this number.


How do you represent a negative number in Binary Coded Decimal?

All I know is that when a number is negative, you convert the decimal into binary and if it is negative you put 1111 before the binary digits.


What is a number less than zero called?

a negative number


Write a program to check a number is negative or positive?

#include<stdio.h> int main() { int num; do { scanf ("Enter a number (0 to exit): %d", num); if (num>0) printf ("The number is positive.\n"); else if (num<0) printf ("The number is negative.\n"); else printf ("The number is zero, neither positive nor negative\n"); } while (num); return 0; }

Related questions

What happens if a subscript value is negative or higher than the number of elements in an array?

It cannot be part of the array.


The number placed below an elements symbol in a chemical formula is called a what?

it's called a subscript


The elements that make up a compound and the exact number of atoms of each element in a unit of the compound can be?

Subscript (:This is a subscript: (Na2) the "2" is the Subscript.


If structure is arraythen an individual array element can be accessed by writing a variable?

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.


Is the The oxidation number of an atom is shown with a subscript?

no it is a superscript (either a positive or negative number one)


What is the number placed below an elements symbol in a chemical formula is called what?

subscript


How are elements that form positive ions grouped in the periodic table relative to elements that form negative ions?

The lower the the Atomic Number, the higher the Ionic Energy.


Negative PLUS a positive equals?

It is a negative if the negative number has the higher absolute value and positive if the positive number has the higher absolute value.


What type of number after a chemical symbol tells how many atoms of that elements in a single molecule?

The subscript that is to the right of the element symbol, no subscript means 1. Example H2O, 2 hydrogen 1 oxygen


What number is bigger a lower negative number or a higher negative number?

The question depends on what lower and higher mean. The number that is the smaller of two when you ignore the negative signs, becomes the bigger of the two when you put negative signs before them.


How do you make a negative number a positive number?

Multiply it by another negative number. Or add a higher positive number to it.


What is the highest negative number?

There is no such number, but is is a tiny, minuscule, fraction below zero. But half that fraction is a higher negative number. And half of THAT fraction is higher still. And so on.