cheenu02
Junior Member level 3
hi,
the following program is not running and give cannot convert int to int * in main function error
#include<stdio.h>
void main()
{
int *p;
p=0x2000;
++p;
printf("%x",p);
}
please give me a solution
thank you
the following program is not running and give cannot convert int to int * in main function error
#include<stdio.h>
void main()
{
int *p;
p=0x2000;
++p;
printf("%x",p);
}
please give me a solution
thank you