Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Subathra Prem kumar

    @subathra-b2tjSf Nov 6, 2015

    Surya.Csewhy we use temporary variable in programs??

    Temporary variables let you store and reuse the value of expressions. They can be used to improve the performance or readability of methods.
    Eg: if you take a swap function,

    Int temp, a,b;
    Temp =a;
    A=b;
    B=temp ;

    In this case temp variable store the value of variable A and assign it to another variable B.
    In a=b; ------- we assign the b value in a.
    Hope this is helpful

  • Surya.Cse

    @suryacse-TcPrP5 Nov 6, 2015

    thank u fo gvng proper ans......!!!...hv a nice day

  • Vishal Sharma

    @vishal-pysGmK Nov 7, 2015

    Surya.Csethank u fo gvng proper ans......!!!...hv a nice day

    Stop using "SMS language"