printf() is not so much strong in type conversion...it does not able to
perform correct type conversion...:)

On Thu, Mar 31, 2011 at 1:24 PM, sourabh jakhar <[email protected]>wrote:

> these kind of question are compiler dependent
>
>
> if you are preparing for interview than these kind of questions are not
> asked
>
>
> On Tue, Mar 29, 2011 at 10:42 PM, kunal srivastav <
> [email protected]> wrote:
>
>> refer let us c by YK fr these type of ques
>>
>>
>> On Tue, Mar 29, 2011 at 10:07 PM, ArPiT BhAtNaGaR <
>> [email protected]> wrote:
>>
>>> please do answer geeks me waiting
>>>
>>>
>>> On Mon, Mar 28, 2011 at 11:14 PM, ArPiT BhAtNaGaR <
>>> [email protected]> wrote:
>>>
>>>> #include<stdio.h>
>>>> main()
>>>> {
>>>>     long x;
>>>>     float t;
>>>>     scanf("%f",&t);
>>>>     printf("%d\n",t);
>>>>     x=90;
>>>>     printf("%f\n",x);
>>>>     {
>>>>         x=1;
>>>>         printf("%f\n",x);
>>>>         {
>>>>             x=30;
>>>>             printf("%f\n",x);
>>>>         }
>>>>         printf("%f\n",x);
>>>>     }
>>>>         x==9;
>>>>         printf("%f\n",x);
>>>>
>>>> }
>>>>
>>>> o/p on gcc compiler
>>>> 20.3   (i/p given)
>>>> -1073741824
>>>> 20.299988
>>>> 20.299988
>>>> 20.299988
>>>> 20.299988
>>>> 20.299988
>>>>
>>>> plz explain the o/p....
>>>>
>>>> --
>>>> Arpit Bhatnagar
>>>> (MNIT JAIPUR)
>>>>
>>>>
>>>
>>>
>>> --
>>> Arpit Bhatnagar
>>> (MNIT JAIPUR)
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>>
>> --
>> thezeitgeistmovement.com
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> SOURABH JAKHAR,(CSE)(3 year)
> ROOM NO 167 ,
> TILAK,HOSTEL
> 'MNNIT ALLAHABAD
>
> The Law of Win says, "Let's not do it your way or my way; let's do it the
> best way."
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
DIPANKAR DUTTA
M-TECH,Computer Science & Engg.
E&C Dept,IIT ROORKEE
Uttarakhand , India – 247667
-------------------------------------------
website:http://people.iitr.ernet.in/shp/09535009/Website/index.html
ph no-09045809987
Lab: 286454
email:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to