2. Write a program that determines whether a given integer is odd or even and displays the
number and description on the same line.
3. Write a program to illustrate the use of cast operator in a real life situation.
4. 1. Distinguish between the following pairs:
(a) getchar and scanf functions.
(b) %s and %c specifi cations for reading.
(c) %g and %f specifi cation for printing.
(d) %s and %[ ] specifi cations for reading.
(e) %f and %e specifi cations for printing.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here