c 3346

  1. Improve INSERT-per-second performance of SQLite?
  2. Why are elementwise additions much faster in separate loops than in a combined loop?
  3. Do I cast the result of malloc?
  4. How do you set, clear, and toggle a single bit?
  5. What is the difference between #include <filename> and #include “filename”?
  6. What does the C ??!??! operator do?
  7. What is “:-!!” in C code?
  8. With arrays, why is it the case that a[5] == 5[a]?
  9. Compiling an application for use in highly radioactive environments
  10. In C++ source, what is the effect of extern “C”?
  11. How do function pointers in C work?
  12. Obfuscated C Code Contest 2006. Please explain sykes2.c
  13. Why does the C preprocessor interpret the word “linux” as the constant “1”?
  14. What is the difference between const int*, const int * const, and int const *?
  15. What does “static” mean in C?
  16. How do I use extern to share variables between source files?
  17. Why can't variables be declared in a switch statement?
  18. How to initialize all members of an array to the same value?
  19. Why are these constructs (using ++) undefined behavior?
  20. Divide a number by 3 without using *, /, +, -, % operators
  21. What is the difference between a definition and a declaration?
  22. Unit Testing C Code
  23. How do I determine the size of my array in C?
  24. What is the strict aliasing rule?
  25. Why use apparently meaningless do-while and if-else statements in macros?
  26. Can code that is valid in both C and C++ produce different behavior when compiled in each language?
  27. Can code that is valid in both C and C++ produce different behavior when compiled in each language?
  28. What is the difference between ++i and i++?
  29. Difference between malloc and calloc?
  30. typedef struct vs struct definitions
  31. Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell
  32. Which is faster: while(1) or while(2)?
  33. How do I achieve the theoretical maximum of 4 FLOPs per cycle?
  34. Why isn't sizeof for a struct equal to the sum of sizeof of each member?
  35. What should main() return in C and C++?
  36. Using boolean values in C
  37. How to detect integer overflow?
  38. Why does sizeof(x++) not increment x?
  39. “static const” vs “#define” vs “enum”
  40. What are the barriers to understanding pointers and what can be done to overcome them?
  41. How do you pass a function as a parameter in C?
  42. unsigned int vs. size_t
  43. How to generate a random number in C?
  44. How to determine CPU and memory consumption from inside a process?
  45. What is size_t in C?
  46. How many levels of pointers can we have?
  47. Difference between static and shared libraries?
  48. Why do all the C files written by my lecturer start with a #?
  49. The Definitive C Book Guide and List
  50. What is the difference between char s[] and char *s?