---
title: "Discussion on \"VTable and Vptr Demystified\" | Hashnode"
description: "Discussion on \"VTable and Vptr Demystified\". WHAT IS VTable?\nIt stands for \"VIRTUAL TABLE\". It is created by the compiler to support dynamic polymorphism. When class contain virtual function, compiler creates VTable for that class.\nWHAT IS Vptr?\nIt stands for \"VIRTUAL POINTER\". It is a hidden p..."
url: "https://hashnode.com/posts/vtable-and-vptr-demystified/6631cd5a011d54e8ddd3b921"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [VTable and Vptr Demystified](https://kalibaranwal.hashnode.dev/vtable-and-vptr-demystified?utm_source=hashnode&utm_medium=feed)

WHAT IS VTable? It stands for "VIRTUAL TABLE". It is created by the compiler to support dynamic polymorphism. When class contain virtual function, compiler creates VTable for that class. WHAT IS Vptr? It stands for "VIRTUAL POINTER". It is a hidden p...

May 1, 2024 · 1 min read · kalibaranwal.hashnode.dev  
Updated May 10, 2024  
Read the article

-   [#vtable](https://hashnode.com/tag/vtable)
-   [#vptr](https://hashnode.com/tag/vptr)
-   [#virtualfunction](https://hashnode.com/tag/virtualfunction)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#type-casting](https://hashnode.com/tag/type-casting)

## Written by

[Kali Baranwal](https://hashnode.com/@kalibaranwal)

@kalibaranwal · Kolkata

  
[View profile](https://hashnode.com/@kalibaranwal)

cout<<"TECHHELP"<<endl;

"👋 Hello, fellow developers! I'm Kali Baranwal , a 2nd year student . I've , exploring in another blog post also. Skilled in frontend developer, UI/UX design , C++ Join me as I share insights, of notes here on Hashnode .📚 Beyond technical skills, I'm also passionate about continuous learning and personal development. Let's connect, learn, and grow together!"

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
