OUTPUT:
Enter an integer: 2
Enter a double: 6.2
Enter a character: z
The new integer is: -33686019 //this is what I see that's wrong with output
The newdouble is:7.2
The new character is::{
*(++ip) means that ip will point at a different adress that u have not assigned. What u want to do is (*ip)++; which will increase the object ip points to by 1.