Thread: what are RECURSIONS....???

  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    PUNE
    Posts
    23

    what are RECURSIONS....???

    Can Anyone Tell Me What Are Recursions....??
    What For It Is Used....??
    & What Is Call By Reference Or Call By Value....???

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Someone can, yes. Interestingly enough, if you type recursion in C (without quotes) into Google and hit "I'm Feeling Lucky", you'll get a page that talks, not just about recursion, but about call by reference and call by value as well!

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Recursion means that the function calls itself over and over until it finishes its task.
    Pass by value means an argument passed to a function is copied (a copy is made), pass by reference or how I like to call, pass by pointer, means the address of the argument is passed so the function can modify the original argument.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    No, No, No, you're all wrong!

    Re-curseions are where you've already cursed at the ions, and now, you're cursing at the ions, again!

    Poor ions. Everybody hates a charged particle, I guess!

  5. #5
    Registered User
    Join Date
    Feb 2008
    Location
    PUNE
    Posts
    23
    recursions in C man not in phY....!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recursions killing me
    By salvadoravi in forum C Programming
    Replies: 12
    Last Post: 01-29-2008, 04:48 AM
  2. Recursions
    By incognito in forum C++ Programming
    Replies: 3
    Last Post: 11-27-2001, 08:12 PM
  3. Replies: 3
    Last Post: 11-17-2001, 09:16 AM
  4. Recursions....please help
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 11-15-2001, 01:54 PM
  5. need help with recursion's base case...
    By matheo917 in forum C++ Programming
    Replies: 8
    Last Post: 11-10-2001, 02:40 AM