369 TESLAKALVIYOGI
Page 12 of 30

Runtime Value Meaning

Getting value while program is running

</> logic
1

Concept Meaning

Runtime value is the value a variable has while the program is running.

2

Real-Life Analogy

Marks written on the board during class are visible at that time. Runtime values are used during program execution.

3

Expected Output

User value is stored and shown during execution.
4

Common Mistake

Do not think all values are fixed permanently in code.

Same Logic • Different Syntax

Code in 4 Languages

JavaScript
let age=21;
console.log(age);
C++
int x=50;
cout<<x;
Python
age=18
print(age)
PHP
<?php
$age=18;
echo $age;
?>

Memory Tip

Runtime value = value available while program runs.