JobsJob TrackerJob alerts

WD-Sandisk · 11 questions

All 11Coding 11
  • Variable Number of Arguments in CCoding
  • Problems Based on MacrosCoding
  • Packing and Alignment in CCoding
  • Complex Pointer RepresentationCoding
  • Finding Loop in Linked ListCoding
  • Explain Union Find Data StructureCoding
  • Macro Function vs Inline FunctionCoding
  • Pointer and ReferenceCoding
  • Why Use InheritanceCoding
  • Function Pointer, Array of Pointers, Pointer to an ArrayCoding
  • Class vs StructureCoding
← WD-Sandisk questions
  1. Interview questions
  2. WD-Sandisk
  3. Class vs Structure
CodingReported in a candidate post, Aug 2018

Class vs Structure

Filed under WD-Sandisk

The question

Explain how a class differs from a structure, why we need classes, and whether the same behavior can be achieved using structures only.

No write-up yet. Related questions below have one.

Related WD-Sandisk questions

  • Variable Number of Arguments in C
  • Problems Based on Macros
  • Packing and Alignment in C
  • Complex Pointer Representation
  • Explain Union Find Data Structure
← Function Pointer, Array of Pointers, Pointer to an Array

Collected from public candidate posts and coding forums. Updated Nov 2026.