Dear friends
I am new into programming. I have some questions if you can help me to write a programming code for me. i will be very thankful to you !
Q1. Write a program that prints the sizes of the fundamental types, a few pointer
types, and a few enumerations of your choice. Use the sizeof operator.
Q2. Write a program that prints out the letters ‘a’ ….. ‘z’ and the digits ‘0’ … ‘9’
and their ASCII values (in decimal).
Q3. Modify the previous program by writing a function for printing the characters such that
a. it accepts three arguments; the first argument is the first character to be printed and the second is the last character to be printed. The third argument is an integer value, which controls the printing mode (Character or ASCII).
b. Use an enumerated type to specify the printing mode values.
c. Create a header file to declare the function and the enumerated type and a source file for implementing the function. Write your main function in a separate file and properly include the header file.
Q4. Write a function that swaps two floating point values.