Question: Excercise 1 - 2 . The following C code has around six errors ( some of them depends on what you count as an error

Excercise
1
-
2
.
The following C code has around six errors
(
some of them depends on what you count as an error
)
.
Locate the errors and explain at which complier phase they are
(
or should be
)
revealed
.
int main
(
)
{
int i ; int j
=
k
+
1
; int a
[
]
=
{
1
,
2
,
3
}
j
=
a
+
b; a
[
4
]
=
7
; printf(hello world
);

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!