Search:

Type: Posts; User: bravoelf

Search: Search took 0.00 seconds.

  1. Swap two variables of different types is it possible(with help of pointers maybe)?

    Hello all,

    This question raised in my head, and I got confused with an answer.

    So suppose I have following situation:


    int val1 = 2;
    double val2 = 3.25;
  2. Thanks a lot Laserlight, you're AWESOME! ^_^

    Thanks a lot Laserlight, you're AWESOME! ^_^
  3. Yep, you did it again ))) My brain was challenged...

    Yep, you did it again ))) My brain was challenged ^_^ (kind of compliment)

    Still, would like to ensure I got your answer right.

    First, as it turns out I need to work harder on my C terminology....
  4. Variable initialization and assignment question

    Hello all,

    I would like to ask for some little explanation.

    Suppose I have a following code:


    #include<stdio.h>
    #include<stdlib.h>
  5. To: laserlight OMG thanks for the answer. I...

    To: laserlight

    OMG thanks for the answer. I must admit that this is one of those rare cases which made me to execute additional googling ^_^. What a wonderful Pandora box I've opened here :D
    ...
  6. The difference between declaration and definition of structs. Need explanation please

    Hello,

    Lastly I started to work with structs (still learning this topic).
    Mainly, my knowledge sources are based upon three things:

    1. "C How to Program" by Deitel.

    2. "Advanced C" by...
  7. Thanks for your explanation laserlight.

    Thanks for your explanation laserlight.
  8. My apologies, but this is still not fully clear...

    My apologies, but this is still not fully clear to me. What happens to myPtr2 when I use casting (reading Deitel's book all the day though ^_^) is it kinda "downgraded" to "int *" insted "int **"?
    ...
  9. Pointer to Pointer + Pointer casting; Need Explanation Please.

    Hi all,

    Have a little question about pointer casting (the meaning of it);

    Here is my code (working on Eclipse):



    #include<stdio.h>
Results 1 to 9 of 9