Question: 1.) Explain the following line of code int sum = (int)0.0; 2.What is wrong with this code? Please write down the line number and explain
1.) Explain the following line of code
int sum = (int)0.0;
2.What is wrong with this code? Please write down the line number and explain why this is a problem

3.Give one example of an unary operator in C!
4.What is the difference between a variable initialization and a variable declaration?
5.Write a program to output all numbers from 1 to 20, which a divisible by 3?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
