0
Pls find error in the code nd fix it.
It is code about Pointers in C-Language. https://code.sololearn.com/c4Y4bXcnQtSw/?ref=app
1 Respuesta
+ 8
#include <stdio.h>
//#include <conio.h>
void main()
{
int i, *ptr; // adding *
i = 1; // semicolon
ptr = &i;
printf("\n value of i=%d", i);
printf("\n address of i=%p", &i); // d -> p
printf("\n ptr=%p",ptr); // d -> p
//getch();
}