Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Amazing Value

This is a discussion on Amazing Value within the C and C++ forums, part of the Programming Talk category; I tried the below C program #include <stdio.h> main() { int x; x = x < y < 2; } ...

  1. #1
    Angela is offline Member Array
    Join Date
    Apr 2006
    Answers
    85

    Amazing Value

    I tried the below C program
    #include <stdio.h>
    main()
    {
    int x;
    x = x < y < 2;
    }

    Amazing the above program always returns true value. Why is this? Kindly help me in knowing about this amazing value.


  2. #2
    spark is offline Junior Member Array
    Join Date
    Jul 2007
    Answers
    1
    this is so because in c programs u cannot hide datas.


Latest Article

Network Security Risk Assessment and Measurement

Read More...