26 Answered Questions

[SOLVED] Do I cast the result of malloc?

  • 2009-03-03 10:13:02
  • Patrick McDonald
  • 202208 View
  • 2250 Score
  • 26 Answer
  • Tags:   c malloc casting

5 Answered Questions

[SOLVED] Why is “while (!feof(file))” always wrong?

  • 2011-03-25 11:42:33
  • William Pursell
  • 200989 View
  • 519 Score
  • 5 Answer
  • Tags:   c file while-loop feof

17 Answered Questions

[SOLVED] What should main() return in C and C++?

9 Answered Questions

1 Answered Questions

[SOLVED] The Definitive C Book Guide and List

  • 2009-02-18 18:32:02
  • lillq
  • 380368 View
  • 401 Score
  • 1 Answer
  • Tags:   c

11 Answered Questions

[SOLVED] What is the strict aliasing rule?

11 Answered Questions

[SOLVED] Why is the gets function so dangerous that it should not be used?

8 Answered Questions

[SOLVED] What is array decaying?

4 Answered Questions

[SOLVED] scanf() leaves the new line char in the buffer

  • 2011-03-09 02:56:02
  • ipkiss
  • 56995 View
  • 59 Score
  • 4 Answer
  • Tags:   c scanf

11 Answered Questions

[SOLVED] Why isn't sizeof for a struct equal to the sum of sizeof of each member?

16 Answered Questions

[SOLVED] How do I use extern to share variables between source files?

13 Answered Questions

[SOLVED] How to find the 'sizeof' (a pointer pointing to an array)?

22 Answered Questions

13 Answered Questions

[SOLVED] What is the difference between char s[] and char *s?

9 Answered Questions

[SOLVED] Is an array name a pointer?

  • 2009-10-29 06:38:05
  • user188276
  • 56986 View
  • 179 Score
  • 9 Answer
  • Tags:   c arrays pointers

18 Answered Questions

[SOLVED] With arrays, why is it the case that a[5] == 5[a]?

12 Answered Questions

[SOLVED] Removing trailing newline character from fgets() input

9 Answered Questions

[SOLVED] How do I properly compare strings?

  • 2011-11-04 02:22:27
  • nmagerko
  • 389535 View
  • 162 Score
  • 9 Answer
  • Tags:   c string strcmp

12 Answered Questions

[SOLVED] Where do I find the current C or C++ standard documents?

4 Answered Questions

9 Answered Questions

[SOLVED] Why does printf not flush after the call unless a newline is in the format string?

  • 2009-11-11 16:22:39
  • Crazy Chenz
  • 307941 View
  • 483 Score
  • 9 Answer
  • Tags:   c printf flush

4 Answered Questions

[SOLVED] Using fflush(stdin)

  • 2010-06-05 04:50:23
  • wrongusername
  • 38900 View
  • 65 Score
  • 4 Answer
  • Tags:   c stdin fflush

9 Answered Questions

[SOLVED] How to access a local variable from a different function using pointers?

27 Answered Questions

[SOLVED] How do you set, clear, and toggle a single bit?

9 Answered Questions

[SOLVED] When and why will an OS initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete?

7 Answered Questions

[SOLVED] srand() — why call it only once?

  • 2011-09-08 06:13:49
  • Lipika Deka
  • 67672 View
  • 70 Score
  • 7 Answer
  • Tags:   c random srand

32 Answered Questions

16 Answered Questions

[SOLVED] What is the difference between const int*, const int * const, and int const *?