Question: The following C code has around six errors (some of them depend on what you count as an error). Locate the errors and explain at
The following C code has around six errors (some of them depend on what you count as an error). Locate the errors and explain at which compiler phase they are (or should be) revealed. /* this is a buggy hello world program int main () { int i ; int j = k + 1 ; int a[] = {1,2,3} j = a + 6 ; a[4] = 7 ; printf(hello world ) ; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
