Programming Languages
216 articles in this topic

C to C++ Transition: Syntax Changes, Classes and Runnable Examples
Move a working C record into an encapsulated C++ class, then replace common pointer, buffer, and allocation patterns with clearer C++ alternatives.

JavaScript Promises and async/await Explained: Error Handling, Execution Order, and Output Questions
Build a precise call-stack and queue model, use it to predict six output lines, and see why one missing await can move a rejection beyond try/catch.

Python Tuples Tutorial: Packing, Unpacking, Methods and Examples
Learn how Python tuples work through runnable examples, a fixed-record route program, precise error fixes and four predict-before-running exercises.

Functions in C: 12 Solved MCQs on Declarations, Definitions and Function Types
Separate a C function's prototype, body and call, then practise the details through 12 explained questions covering parameters, return values and linking.

Templates in C++: Function and Class Templates with Runnable Examples
Learn how C++ templates turn one type-safe blueprint into reusable functions and classes. Trace deduction, fix compiler errors, and test each idea with runnable examples.

Strings in C Tutorial: Declaration, Input, Functions and Worked Examples
Learn how C strings use character arrays and the null terminator, then practise safe input, traversal, reversal, library calls and capacity checks.

Interface vs Abstract Class in Java: Differences, Default Methods and Exam Questions
Replace the old textbook rule with a current comparison, then solve the two-default-method conflict that appears in Java output and compilation questions.

Python Lists Tutorial: Create, Update, Slice and Use Lists with Examples
Learn Python lists through one clear path, from creation and indexing to mutation, comprehensions, copying, and exam-style output questions.

Visual Basic Programming Language: Core Concepts with a Worked VB.NET Example
Connect VB.NET syntax to a real Windows Forms event. Build and trace an invoice calculator that validates text input, applies a discount, and displays the exact result.

Map and Set in C++: Runnable STL Examples, Traps and Exercises
Learn when to choose std::map or std::set through complete programs, an event-by-event trace, complexity guidance, common mistakes and practice tasks.

Multidimensional Arrays in C: 2D Arrays, Row-Major Memory and Runnable Examples
Learn how C lays out and traverses fixed-size multidimensional arrays. A complete 3-by-4 sales program connects indexing, totals, addresses and function parameters.

Exception Handling in Java: Checked vs Unchecked, finally Traps and Output Questions
Replace guesswork with precise Java exception rules. Trace two classic finally outputs, order catches correctly, and preserve causes when wrapping failures.