Computer Science, asked by nandan1012002, 1 year ago

Find and write the error/errors (if exists) from the following code of statements: int a, b, c a = 0


nandan1012002: Find and write the error/errors (if exists) from the following code of statements: int a, b, c
tejasgupta: bro, in this line there is no error.
tejasgupta: i am talking about int a, b, c = 0 .......

Answers

Answered by tejasgupta
3
The error is c a

Why?

because,
1. a comma is missing.
2. variable 'a' is already defined and cannot be declared again......

hope this helps.......

...........pls mark as brainiest...........

tejasgupta: pls mark as brainiest......
nandan1012002: Find and write the error/errors (if exists) from the following code of statements: String s = 'This is a string';
tejasgupta: Please ask another question about this.......
nandan1012002: Find and write the error/errors (if exists) from the following code of statements: boolean a, b;
a = false, b = true;
tejasgupta: Please ask another question about this..............
tejasgupta: pls mark as brainiest....
Similar questions