- 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';

8th Feb 2021, 5:56 AM
YEDDULA VENKATA SIVA SANKAR REDDY
YEDDULA VENKATA SIVA SANKAR REDDY - avatar
2 Answers
+ 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';
25th Feb 2022, 3:59 PM
Sawan Bhavsar
Sawan Bhavsar - avatar
+ 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); }
2nd Jan 2023, 7:58 AM
Manoj Mathapati
Manoj Mathapati - avatar