Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~225 People Reached
Favorite Forums
Favorite Tags
c x 7
Member Avatar for AutoC

Hi, I need an array of approx. 2,00,000 elements.But malloc fails to allocate beyond 65872. When I give (short int*)malloc(sizeof(short int)*65000); It works but seg faults when I give (short int*)malloc(sizeof(short int)*66000); whatsup with that?

Member Avatar for Salem
0
159
Member Avatar for aflneto

Hi I'm trying to write a simple version of the tail program in linux, but I keep getting a seg fault when I run the program. I wrote a simpler version but with fixed number of lines to print and using [code] char lines[10][100]; [/code] instead of [code] char **lines; …

Member Avatar for aflneto
0
66