Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
java-string
c#-string
vbnet-string
python-string
cobol
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
get-n-digit-after-decimal-point-float
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
Disclosure:
My content contains affiliate links.
Recent questions tagged C
43,693
questions
57,001
answers
573
users
Recent questions tagged C
1
answer
149
views
How to create a doubly linked list in C
asked
Apr 15
by
avibootz
c
c-create-doubly-linked-list
create-doubly-linked-list
2
answers
215
views
How to represent the Boolean "true" and "false" in C
asked
Apr 14
by
avibootz
c
c-represent-boolean-true-false
represent-boolean-true-false
1
answer
176
views
How to find the next number in the series 14, 25, 47, 91 with C
asked
Apr 14
by
avibootz
c
c-next-number-series-14-25-47-91
next-number-series-14-25-47-91
1
answer
148
views
How to print all possible permutations (all possible orderings) of the words in C
asked
Apr 14
by
avibootz
c
c-all-possible-permutations-words
all-possible-permutations-words
1
answer
165
views
What is the difference between Math.Floor() and Math.Truncate() in c
asked
Apr 13
by
avibootz
c
c-difference-math-floor-math-truncate
1
answer
149
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in C
asked
Apr 13
by
avibootz
c
c-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
143
views
How to create a singly linked list in C
asked
Apr 11
by
avibootz
c
c-create-singly-linked-list
create-singly-linked-list
1
answer
133
views
How to find the common free time for all employees from an array of non-overlapping intervals in C
asked
Apr 11
by
avibootz
c
c-common-free-time-array-of-non-overlapping-intervals
common-free-time-array-of-non-overlapping-intervals
4
answers
288
views
How to create an infinite loop in C
asked
Apr 10
by
avibootz
c
c-create-infinite-loop
create-infinite-loop
1
answer
140
views
How to remove the minimum number of intervals so that the remaining intervals do not overlap in C
asked
Apr 10
by
avibootz
c
c-remove-minimum-intervals-remaining-do-not-overlap
remove-minimum-intervals-remaining-do-not-overlap
1
answer
167
views
How to add a new interval into a sorted array of non‑overlapping intervals in C
asked
Apr 9
by
avibootz
c
c-add-interval-into-sorted-array-non-overlapping-intervals
add-interval-into-sorted-array-non-overlapping-intervals
1
answer
139
views
How to detect whether any intervals overlap in an array of start and end times with C++
asked
Apr 7
by
avibootz
c
c-detect-intervals-overlap-array-start-end-times
detect-intervals-overlap-array-start-end-times
1
answer
156
views
How to print text diagonally from left to right recursively in C
asked
Apr 7
by
avibootz
c
c-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
127
views
How to find the maximum value we can achieve by picking k elements from an array in C
asked
Apr 5
by
avibootz
c
c-maximum-value-k-elements-array
maximum-value-k-elements-array
1
answer
174
views
How to print text diagonally from left to right in C
asked
Apr 5
by
avibootz
c
c-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
171
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with C
asked
Apr 3
by
avibootz
c
c-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
151
views
How to check whether only 2 bits in an array of bits at a specific position are on (edge‑case‑safe) with C
asked
Apr 3
by
avibootz
c
c-check-2-array-bits-specific-position-on-edge-case-safe
check-2-array-bits-specific-position-on-edge-case-safe
3
answers
255
views
How to write 4 different functions that check if a number is a power of 2 in C
asked
Apr 2
by
avibootz
c
c-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
143
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in C
asked
Mar 31
by
avibootz
c
c-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
148
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in C
asked
Mar 29
by
avibootz
c
c-bits
c-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
159
views
How to filter elements from an array into a new array (edge‑case‑safe) in C
asked
Mar 29
by
avibootz
c
c-array
c-filter-elements-array-edge-case-safe
filter-elements-array-edge-case-safe
1
answer
158
views
How to get the word before the last word from a string (edge‑case‑safe) in C
asked
Mar 28
by
avibootz
c
c-string
c-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
163
views
How to find the median among three given numbers in C
asked
Mar 26
by
avibootz
c
c-median-among-three-given-numbers
median-among-three-given-numbers
1
answer
140
views
How to find the smallest number greater than a given number, using the same digits in C
asked
Mar 25
by
avibootz
c
c-smallest-number-greater-given-number-same-digits
smallest-number-greater-given-number-same-digits
1
answer
158
views
How to produce a sequential count in octal, starting at zero in C
asked
Mar 24
by
avibootz
c
c-sequential-count-octal
sequential-count-octal
3
answers
209
views
How to create an associative-like array (key-value array) in C
asked
Mar 21
by
avibootz
c
c-associative-array
associative-array
1
answer
179
views
How to apply callback to dynamically allocated 2D array in C
asked
Mar 19
by
avibootz
c
c-apply-callback-dynamically-allocated-2d-array
apply-callback-dynamically-allocated-2d-array
1
answer
140
views
How to apply callback to fixed‑size 2D array in C
asked
Mar 19
by
avibootz
c
c-apply-callback-fixed-size-2d-array
apply-callback-fixed-size-2d-array
1
answer
147
views
How to use callback with arrays of structs (apply callback to each struct) in C
asked
Mar 19
by
avibootz
c
c-callback-arrays-of-structs
callback-arrays-of-structs
2
answers
180
views
How to apply a callback to an array (apply a function to each element) in C
asked
Mar 19
by
avibootz
c
c-callback-to-array
callback-to-array
1
answer
147
views
How to calculate the Ethiopian multiplication in C
asked
Mar 17
by
avibootz
c
c-ethiopian-multiplication
ethiopian-multiplication
1
answer
136
views
How to calculate the percentage of a percentage in C
asked
Mar 17
by
avibootz
c
c-percentage-of-percentage
percentage-of-percentage
1
answer
166
views
How to calculate the percentage change between two values in C
asked
Mar 15
by
avibootz
c
c-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
155
views
How to write the 7 Boom game. If a number is divided by 7 or includes the digit 7, the user writes Boom in C
asked
Mar 15
by
avibootz
c
c-7-boom-game
7-boom-game
1
answer
155
views
How to find the longest shared prefix among all words in a string with C
asked
Mar 13
by
avibootz
c
c-longest-shared-prefix-words-string
longest-shared-prefix-words-string
1
answer
148
views
How to group words in a string by the first N letters in C
asked
Mar 13
by
avibootz
c
c-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
164
views
How to find the longest common prefix of all the words in a string with C
asked
Mar 11
by
avibootz
c
c-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
1
answer
146
views
How to write a minimal implementation of Python’s str.replace() in C
asked
Mar 9
by
avibootz
c
c-minimal-implementation-python-str-replace
minimal-implementation-python-str-replace
1
answer
157
views
How to split a string on multiple single‑character delimiters (and keep them) in C
asked
Mar 9
by
avibootz
c
c-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
3
answers
236
views
How to split a string on multiple multi‑character delimiters (and keep them) in C
asked
Mar 8
by
avibootz
c
c-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
168
views
How to remove all adjacent duplicate characters from a string until no more can be removed in C
asked
Mar 7
by
avibootz
c
c-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
1
answer
136
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with C
asked
Mar 6
by
avibootz
c
c-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
142
views
How to find missing alphabet characters from a string in C
asked
Mar 6
by
avibootz
c
c-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
135
views
How to check if a string contains only 0 and 1 and is divisible by 7 in C
asked
Mar 1
by
avibootz
c
c-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
1
answer
144
views
How to check if every digit in a number appears only once in C
asked
Feb 25
by
avibootz
c
c-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
123
views
How to check if a number is pandigital in C
asked
Feb 25
by
avibootz
c
c-check-number-pandigitaln
check-number-pandigitaln
1
answer
135
views
How to find all happy numbers in a specific range with C
asked
Feb 24
by
avibootz
c
c-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
152
views
How to guarantee a 64‑bit integer across platforms in C
asked
Feb 23
by
avibootz
c
guarantee-64-bit-integer-across-platforms
2
answers
162
views
How to remove newlines from a string C
asked
Feb 21
by
avibootz
c
c-remove-newlines-from-string
remove-newlines-from-string
1
answer
140
views
How to convert a number to any base in C
asked
Feb 20
by
avibootz
c
c-convert-number-to-any-base
convert-number-to-any-base
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
...
86
next »
...