Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Storage Classes
What are the different storage classes in C?
✍: FYIcenter
C has three types of storage: automatic, static and allocated.
Variable having block scope and without static specifier have automatic storage duration.
Variables with block scope, and with static specifier have static scope. Global variables (i.e, file scope) with or without the the static specifier also have static scope.
Memory obtained from calls to malloc(), alloc() or realloc() belongs to allocated storage class.
2007-02-26, 6445👍, 0💬
Popular Posts:
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...
Which one of the following statements is TRUE in regard to overloading the ++ operator? 1 You cannot...
How to force a page to go to another page using JavaScript? <script language="JavaScript" typ...
How do we host a WCF service in IIS? Note: - The best to know how to host a WCF in IIS is by doing a...