The new Neighbourhood badges are finally here (the top one š)! Theyāll be going out later in the yearā¦
The new Neighbourhood badges are finally here (the top one š)! Theyāll be going out later in the yearā¦
Redis array: short story of a long development process
#HackerNews #Redis #Array #Development #Story #Long #Process #Tech #News
[Beginner] How do I save previous input in variables/arrays?
[Help with C] Is it possible to let the user define the scope of an array and the values of its elements?
I am just learning arrays and I am experimenting. This one simply wonāt work. I am trying to have the user define (1) how many elements an int array can hold and (2) what the value of each elements is. The program now outputs random integers. Maybe this isnāt even possible, but Iām a complete beginner just playing around for the fun of it. XD
#include <stdio.h>
int main(void) {
int scope,elementnr,i,elementvalue,j;
scope = elementnr = i = elementvalue = j = 0;
int array[j];
printf("How many elements should your ARRAY hold: ");
scanf("%d", &scope);
getchar();
for (i = 0; i < scope; ++elementnr, ++i) {
printf("Enter the value of element number %d: ", elementnr + 1);
scanf("%d", &elementvalue);
getchar;
j = elementvalue;
}
printf("You have created an ARRAY that holds %d elements and you have assigned the following values:\n", scope);
for (i = 0; i < scope; ++i) printf("%d\n",array[j]);
}
Asian Food Fest āBest of Yumsā awards announced: See them here
The 2026 Asian Food Fest āBest of Yumsā winners are in.An array of different Asian cuisine types wereā¦
#dining #cooking #diet #food #Food #array #asiancuisine #asianfoodfest #asianatico-chair #award #cincinnatichambervicepresident #connection #event #foodfestival #goodmainstageentertainmentact #milkjarcafe #place #winner #year #Yums
https://www.diningandcooking.com/2617098/asian-food-fest-best-of-yums-awards-announced-see-them-here/
[C programming] Why and how is the allocated bytes affecting these unexpected behaviors?
[C] What is the relationship between string length, allocated memory size and overflow?