Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Types of Variables

0 votes
asked Sep 9, 2019 by Christian Klepper (120 points)

1 Answer

0 votes
answered Sep 11, 2019 by anonymous
they are mainly 3 types of variables

1)local variables //by default it will assign as a garbage value.this is present in with in the function.

2) global variables //by default it will assign as a zero.it will access entire the program.

3)Static variables //this is also similar to local variables but the difference is this initialize every time
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...