---
title: "Discussion on \"Function Pointers in C++.\" | Hashnode"
description: "Discussion on \"Function Pointers in C++.\". Like pointers in C ( *int , *char ) we can use pointers to a function .\nHere's a sample of Function Pointer ::\n#include \"iostream\"\nvoid Sample(){\n    std::cout << \" This is sample function call .\" << std::endl;\n};\nint main(){\n    auto function = Samp..."
url: "https://hashnode.com/posts/function-pointers-in-c/61695b7a53401f641ba17f95"
---

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

Discussion

# [Function Pointers in C++.](https://anshumantiwari.hashnode.dev/function-pointers-in-c?utm_source=hashnode&utm_medium=feed)

Like pointers in C ( \*int , \*char ) we can use pointers to a function . Here's a sample of Function Pointer :: #include "iostream" void Sample(){ std::cout << " This is sample function call ." << std::endl; }; int main(){ auto function = Samp...

Oct 15, 2021 · 1 min read · anshumantiwari.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Anshuman Tiwari](https://hashnode.com/@anshumantiwari)

@anshumantiwari

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

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
