How are Dividend credited n stock Holdings

How are dividends credited to zerodha customers who are holding stocks in CNC. If I sell my holding today…and the company has announced dividend last week, whether I will get that dividend. Please clarify

1 Like

Dividend paid out doesn’t depend on whether you are a Zerodha client or not.