Question: Write 2 programs to show the use of the enum data type Compile and run the next program: What is the program doing? Instead of

Write 2 programs to show the use of the enum data type Compile and run the next program: What is the program doing? Instead of int c; try char c; does it compile with any errors?, why? What are getchar and putchar doing? Explain both functions. Write a program to do the same not using getchar and putchar Write a program to input a complex number and output its real and imaginary parts in different console output lines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
