- 6
c language fill in the blanks answer me
Fill in the blanks to declare an array of unions and access its members. union values { int i_val; float f_val; char c_val; }; union _____ nums[3]; nums[0].i_val = 42; nums [1].f_val = 3.14; nums[2].c_val = 'f';
3 ответов
+ 3
union values {
int i_val;
float f_val;
char c_val;
};
union values nums[3];
nums[0].i_val = 42;
nums[1].f_val = 3.14;
nums[2].c_val = 'f';
+ 1
Fill in the blanks to define a recursive print function that prints number from n to 0.
Void print(int n){
If(n<0)__;
Pritf("%d",n);
__(n-1);
}