C. Indicate what each of the following C statements will do: 1. int apple; 2. char banana; 3. float cherry; 4. int grapes [5]; 5. int peach = 21; 6. char y_n, name[13] 7. char class[]="cis 158", fallSpring='s'; 8. return age; 9. apple = 56; 10. ++apple; 11. peach += apple; 12. #define COURSE cis158 13. #include 14. printf("The value of peach is %d\n", peach); 15. scanf("%c", &y_n);

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 11SA
icon
Related questions
Question
C. Indicate what each of the following C statements will do:
1. int apple;
2. char banana;
3. float cherry;
4. int grapes [5];
5. int peach = 21;
6. char y_n, name[13]
7. char class[]="cis158", fallSpring='s';
8. return age;
9. apple = 56;
10. ++apple;
11. peach + apple;
12. #define COURSE cis158
13. #include <stdio.h>
14. printf("The value of peach is %d\n", peach);
15. scanf("%c", &y_n);
Transcribed Image Text:C. Indicate what each of the following C statements will do: 1. int apple; 2. char banana; 3. float cherry; 4. int grapes [5]; 5. int peach = 21; 6. char y_n, name[13] 7. char class[]="cis158", fallSpring='s'; 8. return age; 9. apple = 56; 10. ++apple; 11. peach + apple; 12. #define COURSE cis158 13. #include <stdio.h> 14. printf("The value of peach is %d\n", peach); 15. scanf("%c", &y_n);
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Header Files
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning