Storage Classes — Study Resources & PYQs
Types and uses of storage classes in C.
- Estimated study time: 30 minutes
Study resources
- Storage Classes in C - GeeksforGeeks (Article) — Explains all four storage classes with scope, lifetime, default value and storage location, plus runnable examples. The static-variable-preserves-its-value example is the one to remember.
- Problem Solving on Storage Classes and Scoping of Variables (GeeksforGeeks) (Article) — Practice-oriented article that ties storage classes directly to scope, visibility and lifetime rules with solved MCQ-style problems — great for exam revision.
- C Programming | Chapter 1 & 2 Playlists (Neso Academy) (Video) — Neso Academy's operator/control-structure playlist that builds up to conditional statements and loops, ideal for GATE/university exam preparation.
Storage Classes previous year questions
- (a) What is the scope of variables of type extern, auto, register and static? Explain with examples. (b) Describe the various I/O statements and assignments st…
- 3. (a) Explain the following storage classes with example: (i) auto storage class (ii) static storage class (iii) extern storage class (iv) register storage cl…
- (a) Explain different storage class in 'C' with suitable examples. (10) (b) Explain the syntax of nested if-else. Write a program to find the greatest of three…
- a) Write a program showing the use of if() else and switch statement in C. (10) b) What are the various storage classes available in C? Discuss with suitable e…
- (a) Explain any five string manipulation library functions with suitable example. (12) (b) Write a program to illustrate the concept of extern variable and sta…
- (a) What are the commonly used input/output function in C? How are they accessed? (10) (b) Discuss in detail with examples difference between all the four stor…
Taught in these subjects
- COMPUTER PROGRAMMING — BCST11 · Government College of Engineering and Technology, Jammu
- FUNDAMENTALS OF PROGRAMMING USING C — BCST21 · Government College of Engineering and Technology, Jammu
- Computer Programming — BCST11 · Government College of Engineering and Technology, Jammu
- Computer Programming — CST3101 · Government College of Engineering and Technology, Jammu
- Fundamentals of Programming Using C — CST3201 · Government College of Engineering and Technology, Jammu
- FUNDAMENTALS OF PROGRAMMING USING C — CST3201 · Government College of Engineering and Technology, Jammu