Find the error of the code segment given below and briefly explain how you can correct the error introduced within code segment. #include #include main() { int *p; p=(int*)malloc(4*sizeof(int)); for(i=1;i<10;i++) { p[i]=2*i+1; printf("lf\n",p[j]); } } }
Answers
Answered by
1
Explanation:
Similar questions