Right Click to Search

Sunday, January 24, 2025

Advantages of Block scope / Local Variable in C Programming




Advantages of Block scope / Local Variable in C Programming

Definition :
Variable is said to have local scope / block scope if it is defined within function or local block
Advantages of Local Variables : 
  1. Since data cannot be accessed from other functions , Data Integrity is preserved
  2. Only required data can be passed to function , thus protecting the remaining data

Bookmark & Share

Stumble
Delicious
Technorati
Twitter
Facebook

0 Comments:

Post a Comment

Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates