1 x 10
2 x 5
To calculate the number of arrays that can be made out of 20 elements, we need to consider the possible combinations. Each element can either be included or excluded in the array, resulting in 2 choices for each element. Therefore, the total number of arrays that can be formed is 2^20, which equals 1,048,576.
205 + 10 + 10
Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0] Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0]
10 x 5?
53.3 = 533/10 Since 533 and 10 share no common factors, this is fully reduced.
Yes. int main(void){ int a[10]; int i=0; while(i<10 && a[i++]=i); return 0; }
example in C: const int a [] = {10, 20, 40, 80};
1, 2, 5, 10, 25, 50.
1, 2, 5, 10, 25, 50
34
First, determine the factors of each number -The factors of 10 are: 1, 2, 5, 10The factors of 90 are: 1, 2, 3, 5, 6, 9, 10, 15, 18, 30, 45, 90Next, find the common factors between the two numbers:The common factors are: 1, 2, 5, 10Finally, the largest of the common factors is the GCF -The Greatest Common Factor (GCF) is: 10
10 x 4, 4 x 10, 8 x 5, 5 x 8