C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-07-2009, 02:54 PM   #1
Registered User
 
Join Date: Nov 2009
Posts: 4
c++ array question please explain

I came accross this question in a book i recently bought and i am thouroughly confused.

-The number inside the brackets of an array definition is the ________, but the number inside an arrays brackets in an assignment statement, or any other statement that works with the contents of the array is the _________.

I have no idea, any clarification would be nice - thanks
corbinc is offline   Reply With Quote
Old 11-07-2009, 03:02 PM   #2
Registered User
 
Join Date: Apr 2006
Location: United States
Posts: 3,202
The first blank asks about this number
char foo[BUFSIZ];

The second blank asks about numbers of this kind
foo[x] = y;

Chances are there are words you learned in class to talk about these numbers. If you can't think of anything then just describe the obvious.
__________________
Os iusti meditabitur sapientiam
Et lingua eius loquetur indicium

"There is nothing either good or bad, but thinking makes it so." (Shakespeare, Hamlet, Act II scene ii)

http://www.myspace.com/whiteflags99
whiteflags is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about multidimensional arrays richdb C Programming 22 02-26-2006 09:51 AM
Dynamic Mutli dimensional Array question. fatdunky C Programming 6 02-22-2006 07:07 PM
Array of Structs question WaterNut C++ Programming 10 07-02-2004 02:58 PM
Help with an Array omalleys C Programming 1 07-01-2002 08:31 AM
Hi, could someone help me with arrays? goodn C Programming 20 10-18-2001 09:48 AM


All times are GMT -6. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22