see friend as per my logic u cannot assign a no. to a pointer so its showing u the fault....
>>*i=3 is the wrong statement....
hav a gud day...