Contents


On-line Guides
All Guides
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
Book Store

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

 

 

The GNU C Programming Tutorial - Array out of bounds

Node:Array out of bounds, Next:, Previous:Unwarranted assumptions about storage, Up:Run-time errors



Array out of bounds

When you get or set the value of an element of an array, GCC does not check whether you are working within the bound of the array. In the worst case, this can lead to your program crashing (but probably nothing worse happening on a GNU system). See Array bounds, for more information on this error. See Introduction to GDB, for information on how you can check whether you are violating array bounds, using the GNU Debugger.

 
 
  Published under free license. Design by Interspire