Programming Languages
118 articles in this topic

C++ Setup Tutorial: Install a Compiler and Run Your First Program
Set up a C++ compiler, turn main.cpp into an executable, and learn to diagnose the stage that failed. Two small programs make every command and value concrete.

var vs let vs const in JavaScript: Scope, Hoisting and the Temporal Dead Zone
Trace block scope, early reads, loop callbacks, and const object mutation using the rules behind common JavaScript output questions.

Python Introduction and Setup Tutorial: Install, Verify, and Run Your First Programs
Set up Python with confidence by checking the command, isolating a project in .venv, and running a saved program whose output you can verify step by step.

Object-Oriented Programming: Classes, Objects and Inheritance with a Worked Java Example
Trace two Java objects from construction to output, and see how independent state, inheritance and runtime method dispatch work together.

Lambda Expressions in C++: Syntax, Captures and Worked Examples
Learn how C++ lambdas store captured state, accept parameters and work with STL algorithms. Follow each example from creation to exact output.

Header Files and Linking in C: Build a Multi-File Program Step by Step
Build and debug a three-file C program while learning where declarations, definitions, external symbols, and storage belong.

this Keyword in JavaScript: call, apply, bind and Arrow Functions with Interview Traps
Determine this from the call site, compare explicit binding methods, and see why arrows behave differently in callbacks and object methods.

Python Functions and Modules: Complete Guide with Worked Examples
Build a reliable mental model for Python functions, scope, imports, and packages, then trace a two-module score report from call to printed result.

Inheritance MCQs: 12 Solved Questions on Code Reuse and Class Hierarchies
Solve 12 inheritance MCQs, then use clear explanations to separate hierarchy shape, access rules, assignment compatibility, constructor order and method lookup.

Algorithms Header in C++: Sort, Search and Transform with Runnable Examples
Learn the iterator-range model behind C++ standard algorithms through complete programs for sorting, searching, transforming and erase-remove.

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.