---
title: "Anubhav Pal (@Anubhavvvv) | Hashnode"
description: "student. Read the latest articles by Anubhav Pal on Hashnode."
url: "https://hashnode.com/@Anubhavvvv"
---

@Anubhavvvv

# Anubhav Pal

@Anubhavvvv · Joined March 2022

student

### [Understanding Padding and Greedy Alignment in C++](https://anubhaaav.hashnode.dev/understanding-padding-and-greedy-alignment-in-c?utm_source=hashnode&utm_medium=feed)

In the world of C++ programming, understanding memory layout is crucial for optimizing performance and memory usage. The concepts of padding and greedy alignment play a significant role in determining how memory is allocated for data structures. Let'...

2 min read · [anubhaaav.hashnode.dev](https://anubhaaav.hashnode.dev/understanding-padding-and-greedy-alignment-in-c?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/understanding-padding-and-greedy-alignment-in-c/65cce930e39b1b20ce3a8a57) [Feb 14, 2024](https://hashnode.com/posts/understanding-padding-and-greedy-alignment-in-c/65cce930e39b1b20ce3a8a57)

### [Understanding React onClick: A Practical Guide to Button Handling](https://anubhaaav.hashnode.dev/understanding-react-onclick-a-practical-guide-to-button-handling?utm_source=hashnode&utm_medium=feed)

Demystifying the Different Approaches for React Button Clicks 1. The Classic Approach: onClick={functionName} This method assigns the function reference to onClick. The function is executed only when the button is clicked. 2. Immediate Invocation...

1 min read · [anubhaaav.hashnode.dev](https://anubhaaav.hashnode.dev/understanding-react-onclick-a-practical-guide-to-button-handling?utm_source=hashnode&utm_medium=feed)

[Nov 16, 2023](https://hashnode.com/posts/understanding-react-onclick-a-practical-guide-to-button-handling/6556137ad7ddaf7d8943c28d)
