Programming Languages

119 articles in this topic

Loops in C: for, while and do-while with worked examples

Learn how C loops initialise, test, execute and update. Trace complete programs, diagnose common bugs and practise choosing the right loop.

Updated 23 Jul 20266 min readC++

Structures and Unions in C: Padding, Alignment and Worked sizeof Problems for GATE

Calculate structure and union sizes byte by byte, see where padding enters, and learn how member order changes the result.

Updated 22 Jul 20267 min readC

Java 8 to Java 21 Features Interviewers Actually Ask: Streams, Records, Sealed Classes and Virtual Threads

Learn the modern Java features that lead to real interview follow-ups, with small code examples, version boundaries and the limits a strong answer should mention.

Updated 25 Jul 20265 min read163 viewsJava

Python Interview Questions for Freshers 2026: Core Language, Data Structures and Coding

Prepare concise, accurate answers to Python fresher interview questions, then test your object model on mutable defaults, complexity, coding patterns and output traps.

Updated 26 Jul 20266 min readPython

Arrays in C: Declaration, Initialization and Worked Examples

Learn how C arrays behave through exact contents, safe loop bounds, function calls and two-dimensional traversal. A complete program traces sum, average and maximum.

Updated 21 Jul 20266 min readProgramming Languages

Object Oriented Technology Explained: Four Pillars, Worked Java Examples, GATE and Interview Patterns

Build object oriented technology on one running Java example. Learn the four pillars, trace exact outputs, and separate overloading from overriding.

Updated 21 Jul 20266 min readProgramming Languages Survey

C++ Tutorial: The Complete Learning Path from First Program to STL

Learn C++ in the order that makes difficult ideas manageable. This roadmap gives you six stages, practical checkpoints and a clear route into exam and placement practice.

Updated 21 Jul 20266 min read147 viewsC++

Functions in C: Call by Value vs Simulated Call by Reference and the Swap Question Family

See why a normal C swap changes only local copies, then trace the pointer version and the aliasing, increment, array, struct, and lifetime traps around it.

Updated 20 Jul 20266 min readC

Classic Programs in C, Java and Python

Learn six placement-programming methods through one clean implementation each. The focus is logic, edge cases, complexity and porting, not memorised code.

Updated 20 Jul 20266 min readJava

Python Output-Based Questions: 13 Solved Snippets

Trace 13 compact Python snippets on references, slices and mutation. Each example gives the output first and then explains the object-level reason.

Updated 20 Jul 20265 min read50 viewsPython

String Handling in Java: String Pool, Immutability and Fresher-Test Questions

Where Java strings actually live, why they never change, and how == vs equals() decides service-company output questions. A String pool and heap diagram, a step-by-step worked trace, StringBuilder performance, and four fresher-test output questions with worked answers.

Updated 19 Jul 20266 min readJava