Science, asked by ahtasumullhaque, 3 months ago

Global and local variables are same in C?

Answers

Answered by mvpatagar21
0

Answer:

In C, we cannot access a global variable if we have a local variable with same name, but it is possible in C++ using scope resolution operator (

Answered by kiranmoryak
0

Answer:

In C, we cannot access a global variable if we have a local variable with same name, but it is possible in C++ using scope resolution operator (::).

Explanation:

So global and local variables are not same!

Similar questions