Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write C program which reads three values of types char, int and float from STDIN and prints, appropriately formatted, assigned values and variable types. For
Write C program which reads three values of types char, int and float from STDIN and prints, appropriately formatted, assigned values and variable types. For example, if letter, number and real are variables of type char, int and float respectively, and if the values assigned to them are a, 1 and 3.1415, then the output should be:
a is a character 1 is an integer 3.1415 is a real number
NOTE: question asks for C program (not c++!)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started