Search:

Type: Posts; User: nowshek

Search: Search took 0.01 seconds.

  1. problem to use graphics.h with gcc in windows??

    these are the header files for my project
    #include<stdio.h>
    #include<conio.h>
    #include<dos.h>
    #include<string.h>
    #include<process.h>
    #include<graphics.h>
    but when i compile it with gcc in...
  2. Replies
    2
    Views
    2,096

    thank you...

    thank you...
  3. Replies
    2
    Views
    2,096

    Help regarding the output of the program!!!

    The following program:



    #include<stdio.h>
    int main()
    {
    int x=30, *y, *z;
    y=&x; /* Assume address of x is 500 and integer is 4 byte size */
    z=y;
  4. Replies
    14
    Views
    1,283

    if it is undefined behaviour then the output of...

    if it is undefined behaviour then the output of the code must change...but it give 1 -1 2.
  5. Replies
    14
    Views
    1,283

    but the following code compiles and runs without...

    but the following code compiles and runs without error............
  6. Replies
    14
    Views
    1,283

    It's a problem from the book on testing C...

    It's a problem from the book on testing C aptitude....
    Can u plz tell how it works.
  7. Replies
    14
    Views
    1,283

    Operator Assignment ??

    Can anyone please explain the following code:


    #include<stdio.h>
    void main ()
    {
    int m = m <= m > 0, n = --m;
    n = n++ && m-12;
    printf("%d %d %d", m,n, ++m - --n);
    }
Results 1 to 7 of 7