Question

1 Rewrite the following program so that it will use function. include <stdio.h> Int main) printf (Hello!) return 0 2 Assume a program has the following declarations: short s- 4 int i--5; long m-3 float f-19.3f; double d-3.6; What are the following values? (a) s+m (b) (float) d (c) d s (e) (int) f 3 What will be the output of the following program: int x = 3 float a 2.76; y-2* x; print f(X-2d, y*ta, z»%d, x, y, z); 4 Determine the output produced by each of the following statements (a) for (i = 6; í > 0; --ì) print - (b) for printf(%d, i); (i 0; i >= -6; --i); =
media%2F75b%2F75bfd428-22da-48c8-9ce7-53
media%2F52b%2F52ba7664-4508-441a-883d-f5
media%2Fbf7%2Fbf70a962-a290-4af9-8bf7-73

media%2F6d2%2F6d2b0e22-2837-4983-b209-5d
0 0
Add a comment Improve this question Transcribed image text
Answer #1

using smeton ne 夸。 nli, ei Hello! of o ˋㄧˋ ヲ 3,86 0000

Add a comment
Know the answer?
Add Answer to:
1 Rewrite the following program so that it will use function. include <stdio.h> Int main) printf...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT