top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Should variables be stored in local C blocks, what are the advantages and disadvantages of doing that?

+4 votes
625 views
Should variables be stored in local C blocks, what are the advantages and disadvantages of doing that?
posted Feb 1, 2016 by Maha Lakshmi

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

While using local c blocks,Since data cannot be accessed from other functions , Data Integrity is preserved only required data can be passed to function , thus protecting the remaining data. and variables shouldn't be stored at local blocks because,Common data required to pass again and again and they have Limited scope. So its all depend on your problem statement.

answer Feb 7, 2016 by Shivam Kumar Pandey
...