Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
RuntimeError
//g++ 7.4.0 ////////////////////////////////////////////////////////////////////////////////RuntimeError: C++ runtime error //this code is created by Rezaul Hoque on June 20,2022; //contact:jewelmrh@yahoo.com;Dhaka,Bangladesh;https://rezaulhoque.wordpress.com,https://hoquestake.blogspot.com //note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; ///////////////////////////////////////////////////////////////////////////// #include <iostream> int main() { //SIGILL/SIGFPE:Modula operation by 0,integer overflow,division by zero [source: Geeks for Geeks] /*** int x=5; std::cout<<5%0; int a=999999999999999; std::cout<<a; ***/ //SIGABRT:assigning excessive memory, int a=9999999999999; int * c=new int[a]; //SIGSEGV:accessing array out of bound,dereferencing uninitialized pointer, dereferencing null pointer,dereferencing freed memory, stack overflow [source: Geeks for Geeks] /*** int *p; std::cout<<*p; int * k=NULL; std:: cout<<*k; ***/ return 0; }
run
|
edit
|
history
|
help
0
poker.hpp
Best way for getting more precision no.
Hello world!
rstring
ThreadPool
CPP - Ex 5
GenericPacker
threadpool01
CPP - Arrays - Ex.2
Lockable static queue