[c-prog] Re: problem in pointers

2008-05-16 Thread Ganesh Vasudevan
I think C Compiler always assume the type as int. In your programs the Address is treated as an integer and is assigned to the variable without any error but see the Warning. It clearly points out that there is an incorrect conversion taking place like address got converted to an Integer or som

[c-prog] Re: problem in pointers

2008-05-15 Thread peternilsson42
"bneha69" <[EMAIL PROTECTED]> wrote: > > /*here I am trying to return an integer pointer even > when the return > type of the function is int and it works ,just gives > warning*/ Saying it works is like saying people with narcolepsy have no problem sleeping. > void main() This is the wrong retu