Search
Main Menu
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Who's Online
28 user(s) are online (19 user(s) are browsing Jobs & News)

Members: 0
Guests: 28

more...

Category: Interview Q&A


| Jun 02, 2016

How can I shut off the ``warning: possible pointer alignment problem'' message which lint gives me for each call to malloc? - Rank: 514 - Votes: 0 - Views: 398 - Updated: 2016-06-03


| Jun 02, 2016

What's wrong with this initialization?

char *p = malloc(10);

My compiler is complaining about an ``invalid initializer'', or something. - Rank: 664 - Votes: 0 - Views: 548 - Updated: 2016-06-03


| Apr 22, 2016

How can I find out how much memory is available? - Rank: 625 - Votes: 0 - Views: 468 - Updated: 2016-04-23


| Apr 22, 2016

How can I dynamically allocate arrays? - Rank: 596 - Votes: 0 - Views: 435 - Updated: 2016-04-23


| Apr 20, 2016

I've heard that some operating systems don't actually allocate malloc'ed memory until the program tries to use it. Is this legal? - Rank: 641 - Votes: 0 - Views: 477 - Updated: 2016-04-21


| Apr 20, 2016

What should malloc(0) do? Return a null pointer or a pointer to 0 bytes? - Rank: 628 - Votes: 0 - Views: 463 - Updated: 2016-04-21


| Apr 14, 2016

malloc is returning crazy pointer values, I have included the line

extern void *malloc();

before I call it. - Rank: 699 - Votes: 0 - Views: 535 - Updated: 2016-04-15




Copyright (c) FYIcenter.com