File system1. Sequential Access What is Sequential Access? Sequential access means accessing data one record after another, in a fixed order. Think about a book: Page 1 Page 2 Page 3 Page 4 Page 5 If you want tOct 8 · 9 min readyesamitsingh.hashnode.dev
C++ में Scope क्या होता है?Scope का मतलब है: Program का वह area जहाँ किसी variable, function या class member को उसके नाम से access किया जा सकता है। { int x = 10; // x का scope इसी block के अंदर है } cout << x; // EAug 18 · 5 min readyesamitsingh.hashnode.dev
Static Data Members और Static Member Functionsएक आसान example से समझो: एक class में: हर student के marks और rollNumber अलग होंगे। लेकिन totalStudents सभी students के लिए एक ही होगा। class Student { int rollNumber; // हर object कीAug 15 · 8 min readyesamitsingh.hashnode.dev
Classes containing pointers, Pointer to objects, this pointer, Array of objectsइन चारों topics को एक ही Student class से step-by-step समझते हैं: Class containing pointer → class के अंदर pointer Pointer to object → pointer के अंदर पूरे object का address this pointer → current Aug 12 · 9 min readyesamitsingh.hashnode.dev
Possible problems with the use of pointers - Dangling pointer, Wild pointer, Null pointer assignmentPointer ka kaam sirf kisi memory location ka address store karna hota hai. Problem tab hoti hai jab pointer ke andar: Shuru se hi koi valid address nahi ho → Wild Pointer Pehle valid address tha, leAug 12 · 5 min readyesamitsingh.hashnode.dev