NTA-NET (UGC-NET) Computer Science & Applications (87) Programming in C and C Plus Plus-C Plus Plus Programming Study Material (Page 18 of 54)

Choose Programs:

⏳ 🎯 Online Tests (4 Tests [100 questions each]): NTA Pattern, Analytics & Explanations

Rs. 800.00 -OR-

3 Year Validity (Multiple Devices)

Sample TestsDetailsSee Demo

🎓 Study Material (2083 Notes): 2024-2025 Syllabus

Rs. 1250.00 -OR-

3 Year Validity (Multiple Devices)

Topic-wise Notes & SampleDetails

🎯 2699 MCQs (& PYQs) with Full Explanations (2024-2025 Exam)

Rs. 600.00 -OR-

3 Year Validity (Multiple Devices)

CoverageDetailsSample Explanation

Help me Choose & Register (Watch Video) Already Subscribed?

Streams and Files

Edit

Streams and Files

C and C ++ views each file simply as a sequential stream of bytes. Each file ends either with an end-of-file marker or at a specific byte number recorded in a system-maintained, administrative data structure. When a file is opened, a stream is associated with it.

In C all input and output is done with streams. Stream is nothing but the sequence of bytes of data. A sequence of bytes flowing into program is called input stream. Likewise, the sequence of bytes which are flowing out of the program is ca…

… (635 more words, 65 figures) …

Subscribe (by clicking here) to view full notes and track progress.

RTTI (Run Time Type Information)

Edit

Introduction

  • RTTI or Run Time Type Information is another feature that allows flexibility to the C ++ programmer. RTTI is used to find out the type of an object at runtime. This is a very handy tool for making sure the object type is exactly learned before any assignment is made. We have already seen the consequences of assigning a base class object to derive and a derived class object to the base. This system, being a runtime component, impacts the performance of the system to such a notable extent that it is usually kept disabled by default. If we want our solution to u…

… (1137 more words) …

Subscribe (by clicking here) to view full notes and track progress.