27 Answered Questions

[SOLVED] Do I cast the result of malloc?

  • 2009-03-03 10:13:02
  • Patrick McDonald
  • 158322 View
  • 1912 Score
  • 27 Answer
  • Tags:   c malloc casting

5 Answered Questions

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

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

13 Answered Questions

1 Answered Questions

[SOLVED] The Definitive C Book Guide and List

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

19 Answered Questions

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

8 Answered Questions

9 Answered Questions

[SOLVED] What is the strict aliasing rule?

7 Answered Questions

[SOLVED] What is array decaying?

12 Answered Questions

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

  • 2009-11-07 18:55:07
  • vinit dhatrak
  • 95386 View
  • 154 Score
  • 12 Answer
  • Tags:   c fgets gets

11 Answered Questions

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

15 Answered Questions

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

15 Answered Questions

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

24 Answered Questions

13 Answered Questions

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

15 Answered Questions

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

10 Answered Questions

[SOLVED] Is an array name a pointer?

  • 2009-10-29 06:38:05
  • root
  • 44625 View
  • 154 Score
  • 10 Answer
  • Tags:   c arrays pointers

12 Answered Questions

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

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
  • 245775 View
  • 403 Score
  • 9 Answer
  • Tags:   c linux printf

2 Answered Questions

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

  • 2011-03-09 02:56:02
  • ipkiss
  • 37300 View
  • 39 Score
  • 2 Answer
  • Tags:   c scanf

9 Answered Questions

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

13 Answered Questions

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

26 Answered Questions

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

6 Answered Questions

[SOLVED] How do I properly compare strings?

  • 2011-11-04 02:22:27
  • nmagerko
  • 275169 View
  • 122 Score
  • 6 Answer
  • Tags:   c string strcmp

12 Answered Questions

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

26 Answered Questions

11 Answered Questions

[SOLVED] How do function pointers in C work?

  • 2009-05-08 15:49:17
  • Yuval Adam
  • 646219 View
  • 938 Score
  • 11 Answer
  • Tags:   c function-pointers

12 Answered Questions

[SOLVED] In C++ source, what is the effect of extern "C"?

8 Answered Questions

[SOLVED] What does the comma operator , do?

2 Answered Questions