Question: 3. int i-1: double k 2.343; Can we write i-k to convert a double to int without warnings at compile time? Ifn how to correct

 3. int i-1: double k 2.343; Can we write i-k to

3. int i-1: double k 2.343; Can we write i-k to convert a double to int without warnings at compile time? Ifn how to correct it? 4. int number-3320; printf ("course no. 6d", number) ; What is the meaning of the number 6 in %6d? 5. The difference between argument and parameter. A string is defined as char str(100]. How to get the input from user (use scanf) and store a string (no space in it) into str? How to print out the string in str (use print)? 6. Assume a structure is defined as below in C. What is the minimum size of this structure type? Assume char type occupies one byte, and int type occupies four bytes. 7. struct studentl int ID: char firstName [10) char lastName [ 10] 8. Declare a tag color for an enumeration whose values represent the three colors Red, Blue and Green enum Red, BIve, nfeen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!