78.5k views
4 votes
What is the error in following code??
z,p=6

User David Arno
by
4.8k points

1 Answer

4 votes

Answer:

Step-by-step explanation:

In C or C++ if you are defining a variable, the type should be written before the variable.

Example

int z,p=6;

Also in this statement semi colon is missing.

User Robins
by
4.2k points