Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22117

Why does this program cause a segmentation fault? [closed]

$
0
0

Please somebody give me a explanation of how this program cause segmentation fault and how can i exploit it?

#include<iostream>using namespace std;void a();void b();void a(){        cout<<"Hello World\n";        b();}void b(){        cout<<"Hello World\n";        a();}int main(){        a();        return 0;}

Viewing all articles
Browse latest Browse all 22117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>