Thanx for your reply prateek and Congrats for getting selected :) :)
On Wed, Apr 11, 2012 at 4:42 PM, Prateek Khandelwal wrote:
>
>
> He asked me about my *projects* and technical background. So you should
> know everything related to your projects.
> *
> Now my interview questions...*
>
> 1.
I don't understand what you want to know be more precise but i think my
solution may help.
#include
> #include
> int main()
> {
> union{
> int a;
> double b;
> }u1={10.5};
> union{
> double a;
> int b;
> }u2={10.5};
> printf("%d %f *%f %d*",u1.a,u1.b,u2.a,u2.b);
> }
>
o/p : 10 0.00 10.500
i doubt it too reply please.
On Mon, Aug 8, 2011 at 8:33 AM, Abhishek Gupta <
mailatabhishekgu...@gmail.com> wrote:
> In a linkedlist we have lost the head pointer and currently we are in the
> middle(anywhere) of list.
> Is it possible to delete the previous node of the current pointer.
>
> --
no it'll vary as the PID will vary from parent to child.
On Mon, Aug 8, 2011 at 8:05 AM, aditi garg wrote:
> i was asking about the order in printfso it wud be like 8times one and
> then 8 times two?
>
>
> On Mon, Aug 8, 2011 at 8:23 PM, sagar pareek wrote:
>
>>
>>
>>M
>>
>>
i think for 3rd answer should be 1:1 correct me if m wrong.
On Mon, Aug 8, 2011 at 7:42 AM, sagar pareek wrote:
> 1. O(n)
> 2. b
> 4 c
>
> On Mon, Aug 8, 2011 at 8:08 PM, programming love <
> love.for.programm...@gmail.com> wrote:
>
>> 1. O(n)
>> 2.b
>> 4.c
>>
>>
>> On Mon, Aug 8, 2011 at 7:24
i think constant pointer only means the address it's representing is
constant i mean can not be changed but of-course the value contained in
variable d which is not constant can be changed. If i am wrong correct me.
On Mon, Aug 8, 2011 at 7:23 AM, mohit verma wrote:
> In c++
>
> int d=1;
> const