当前位置:网站首页>Possible causes of runtime error
Possible causes of runtime error
2022-07-02 02:52:00 【kfc++】
runtime error ( Runtime error ) It's halfway through the program , The program crashed .
Such as :
① Divide by zero
② An array :int a[3]; a[10000000]=10;
③ The pointer is out of bounds :int * p; p=(int *)malloc(5 * sizeof(int)); *(p+1000000)=10;
④ Use the free space :int * p; p=(int *)malloc(5 * sizeof(int));free(p); *p=10;
⑤ The array is too large , Out of stack , Cause stack overflow :int a[100000000]; Generally speaking , Sometimes such errors will be prompted again
Runtime Error(ARRAY_BOUNDS_EXCEEDED) // array bounds exceed An array
Runtime Error(DIVIDE_BY_ZERO) //divisor is nil Divide by zero
Runtime Error(ACCESS_VIOLATION) //illegal memory access Illegal memory read
Runtime Error(STACK_OVERFLOW) //stack overflow System stack overload
边栏推荐
- 高并发场景下缓存处理方案
- QT实现界面跳转
- The video number will not be allowed to be put on the shelves of "0 yuan goods" in the live broadcasting room?
- Baohong industry | 6 financial management models at different stages of life
- Use usedeferredvalue for asynchronous rendering
- [untitled]
- [staff] restore mark (Introduction to the use of restore mark | example analysis of Metaphone mark and restore mark)
- [pit] how to understand "parameter fishing"
- How to hide the scroll bar of scroll view in uniapp
- trading
猜你喜欢

浅谈线程池相关配置

Leetcode face T10 (1-9) array, ByteDance interview sharing
![[staff] restore mark (Introduction to the use of restore mark | example analysis of Metaphone mark and restore mark)](/img/21/7bbf276b01f5a1056a22f5afc0af26.jpg)
[staff] restore mark (Introduction to the use of restore mark | example analysis of Metaphone mark and restore mark)

Analysis of FLV packaging format

Baohong industry | what misunderstandings should we pay attention to when diversifying investment

QT实现界面跳转

超图iServer rest服务之feature查询

【读书笔记】程序员修炼手册—实战式学习最有效(项目驱动)
![[liuyubobobo play with leetcode algorithm interview] [00] Course Overview](/img/1c/c8cab92c74b6658c3ef608c5255f1f.png)
[liuyubobobo play with leetcode algorithm interview] [00] Course Overview

Mongodb base de données non relationnelle
随机推荐
Redis cluster
C return multiple values getter setter queries the database and adds the list return value to the window
MVVM and MVC
MMSegmentation系列之训练与推理自己的数据集(三)
Batch detect whether there is CDN in URL - high accuracy
Mongodb non relational database
Connected block template and variants (4 questions in total)
LeetCode刷题(十)——顺序刷题46至50
Kibana controls es
[learn C and fly] 2day Chapter 8 pointer (practice 8.1 password unlocking)
MySQL operates the database through the CMD command line, and the image cannot be found during the real machine debugging of fluent
C write TXT file
连通块模板及变式(共4题)
[learn C and fly] 4day Chapter 2 program in C language (exercise 2.5 generate power table and factorial table
el-table的render-header用法
[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)
Multi threaded query, double efficiency
QT implementation interface jump
Calculation (computer) code of suffix expression
QT uses sqllite