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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.