Computer Science, asked by mehediac75, 9 months ago

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 bhargav5897
0

Answer:

#include<studio.h>

#include<conio.h>

void main()

{

int ;

printf(" ");

scanf (" ");

getch();

}

in basic formula of c language programming in printf you type value what want to print

if you want you can search on YouTube

Similar questions