While running a C program, It says “(core dumped)” but I can’t see any files under the current path. I have set and ...
-
May 15, 2022
- 0 Comments
How do I use valgrind to find the memory leaks in a program? Please someone help me and describe the steps to carryout ...
-
May 14, 2022
- 0 Comments
I stumbled over an interesting question in a forum a long time ago and I want to know the answer. Consider the following ...
-
May 14, 2022
- 0 Comments
When should a double indirection be used in C? Can anyone explain with a example? What I know is that a double indirection ...
-
May 14, 2022
- 0 Comments
Is there a way to specify default arguments to a function in C? 22 Answers 22
What’s the difference between: char * const and const char * 19 Answers 19
Say I have a C function which takes a variable number of arguments: How can I call another function which expects a variable ...
-
May 12, 2022
- 0 Comments
I have a pretty long sqlite query: const char *sql_query = "SELECT statuses.word_id FROM lang1_words, statuses WHERE statuses.word_id = lang1_words.word_id ORDER BY lang1_words.word ...
-
May 11, 2022
- 0 Comments
C99 standard has integer types with bytes size like int64_t. I am using Windows’s %I64d format currently (or unsigned %I64u), like: #include <stdio.h> ...
-
May 11, 2022
- 0 Comments