Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Segmentation Fault in C program within the C and C++ forums, part of the Software Development category; When we do a C program what are the reasons for getting segmentation fault. In other words highlight the situation under which one might get segmentation fault while doing C ...
|
|||||||
|
|||
|
Segmentation Fault in C program
When we do a C program what are the reasons for getting segmentation fault. In other words highlight the situation under which one might get segmentation fault while doing C program
|
| Sponsored Links |
|
|||
|
Re: Segmentation Fault in C program
When the rules to programming haven't been adhered, there are segmentation problems occurring. However, the compiler may pass successfully through the code, since there will not be any compilation errors....E.g: trying to print an integer as a string should generate a seg fault.
I don't think I understood ghosh answer. Not using same number of closing braces should actually lead you to a compilation error. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Achieve Scalability in Program | RyanJames | C and C++ | 3 | 12-15-2006 02:08 PM |