User Profile

Collapse

Profile Sidebar

Collapse
telephone
telephone
Last Activity: Mar 25 '08, 12:18 PM
Joined: Mar 7 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • telephone
    started a topic printing 0 to 1000 in console screen..
    in C

    printing 0 to 1000 in console screen..

    can we write a c code in turboc++(3.0 dos version) which will print the numbers
    consequently from 0 to 1000 on the console screen or output screen
    provided that we can use only the following system define functions....
    1) printf();
    2)exit();
    3)delay();
    4)clrscr();

    and it is also provided that the c program will not contain
    any loop statement(ie.fo r loop,while loop,dowhile loop),any...
    See more | Go to post

  • telephone
    replied to Macro in C
    in C
    just update the code in the folloing manner,
    static int array[40];
    #define array(x) array[(x)-100]
    void main()
    { array[130]=7;
    }
    I THINK IT WILL BE WORK FINE;
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...