Search:

Type: Posts; User: abhijith gopal

Search: Search took 0.01 seconds.

  1. Replies
    37
    Views
    7,909

    Guess i was right according to King Mir's...

    Guess i was right according to King Mir's Explanation...

    but the statement does NOT flag an error when the second operand is not enclosed within parenthesis.. ie., a<10?b=100:(b =200); // for a...
  2. Replies
    37
    Views
    7,909

    i am using Fedora core 5 gcc 4.1 Guess i ll...

    i am using Fedora core 5 gcc 4.1

    Guess i ll have to read up on the gcc...

    thanks for help everybody...
  3. Replies
    37
    Views
    7,909

    thanks.. but... here's one more doubt... say...

    thanks.. but... here's one more doubt...

    say a=0

    a<10?b=100:b=200;

    how come this statement works n "b" gets initialized to 100... in this case parenthesis is not required. i tried it out......
  4. Replies
    37
    Views
    7,909

    i am not completely convinced with it.. two...

    i am not completely convinced with it..
    two doubts

    1. If i am not mistaken the address of "b" is returned & is attempted to be initialized to 200.
    But this error doesnt happen if the staement...
  5. Replies
    37
    Views
    7,909

    ????

    hi everybody..

    i dont know whether the question i posted was clear enough or not... :confused: my question still remains unanswered... Let me restate the question..

    I am AWARE that
    ...
  6. Replies
    37
    Views
    7,909

    ternary operator

    #include<stdio.h>

    int main()
    {
    int a=10,b=0;
    a<0?b=100:b=200;
    return 0;
    }
  7. that got posted accidently...

    sorry.. didnt realize that it got published...
    will take care next time while posting..

    sorry once again.. :(
  8. problem with floats in conditional statements

    #include<stdio.h>

    int main()
    {
    float a=0.7;

    if( a<0.7) //
    printf("true\n");
    else
    printf("false\n");
  9. Replies
    8
    Views
    1,658

    enlightened!!

    hi itsme86...

    i guess i wasnt clear when describing the functionality... (i have been fiddling with bit manipulation only from the past 2-3 days)

    i guess it gave the impression that LSB and MSB...
  10. Replies
    8
    Views
    1,658

    for the new pbox: input: 0xFE output: 0xFD

    for the new pbox:
    input: 0xFE
    output: 0xFD
  11. Replies
    8
    Views
    1,658

    hi ZuK... i dont want to just swap the LSB &...

    hi ZuK...

    i dont want to just swap the LSB & MSB...
    The "pbox" can contain any "permutation" of the original bits..

    regards
  12. Replies
    8
    Views
    1,658

    program review(bit manipulation..)

    hi everyone...
    i have pasted a piece of code below.. can u people please give me a review of this code... i need to know if there's a better way/logic to implement the following functionality.

    ...
Results 1 to 12 of 13