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

1.) Explain the following line of code int sum = (int)0.0; 2.What

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!