You are on page 1of 1

Variable Data Type Scope Purpose

c char val Used as actual


parameter
str string to_Decimal Used as actual
parameter
base int to_Decimal Used as actual
parameter
len int to_Decimal Used in the form of
local variable to store
the length of the
string
power int to_Decimal Used in the form of
local variable for
calculation purpose
num int to_Decimal, reVal Used in the form of
local variable for
calculation purpose
res string from_Decimal Used in the form of
local variable for
representing string
s string convert_Base Used as actual
parameter
a int convert_Base Used as actual
parameter
b int convert_Base Used as actual
parameter
ans string convert_Base Used as actual
parameter
input string reverse Use as actual
parameter
l int reverse Used in the form of
local variable for
indexing purpose
r int reverse Used in the form of
local variable for
reverse string

You might also like