Filter array elements in C

Опубликовано: 06 Июнь 2026
на канале: Solve Computer Science
100
1

In this video I guide you through an exercise about filtering elements in an integer array.

After filtering some of the elements, you can do some operations on them, such as summing a constant value.

The presented solution is written in the C programming language.

CHAPTERS

0:00 Intro
0:14 Exercise description: find numbers between 10 and 20 then sum 10 to each one of those elements
0:42 Filtering condition
0:56 Resulting array allocation
1:12 Putting the filtering condition in the for loop and summing 10
1:33 The C program: discussion
2:19 Executing the program
2:36 Outro

#c #programming #solvecomputerscience