What is Temporary Variable

By: Prem Tiwari | Last Updated: | In: C Programming Tutorial, C++ Tutorial


A temporary variable is a variable which holds the data for very short time, usually, it used to hold data temporary that will soon be discarded in the computer programming language. See the below example, …