Does a Function have any Storage Class in C Language?

Question: Does a function have any storage class in C Language? In what type of memory does the program code store? Answer: Functions do not have any storage class. Actually, storage class is not an issue for the functions because Program Code is stored in the static memory. At run time, executable image (an ELF … Read more

advertisement

Storage Classes in C Language with Examples

This C Tutorial explains Storage Class in C Language as well as their types. It also explains the relationship with the scope of the variables/identifiers in the program with examples. Storage class of a variable refers to the type of memory allocated to a variable. For example int num = 10; /* num, an integer … Read more

advertisement

Differences between ANSI C and K&R C

This C Tutorial explain the differences between ANSI C and K&R C and Why ANSI C. The ANSI C Standard has tightened the definition of many of the vague areas of K&R C. This results in a much clearer definition of a correct C program. In the following sections, we present a list of what … Read more

advertisement

Compilation Stages of C Programming

This C Tutorial explains different phases of Compilation of a C Program with examples. Compilers 1. Compilers translate source files containing high level language statements like our C language program to object files containing machine instructions. 2. As syntax of each high level language differs from one another,a separate compiler is needed for each high … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.