C++ Supports Pointers or Not

Nikumbh

Nikumbh

@nikumbh-lmTCgS Oct 22, 2024
Does c++ supports pointers or not? if it is then how it can provide security over data. Elaborate pls....And thank you very much in advance.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Sep 23, 2011

    Yes, C++ supports pointers.
    Ex. int *p; //a pointer to an integer variable

    What do you mean by "security over data"?
    Access to members of a class can be controlled by using the access specifiers (private, public).
  • Pensu

    Pensu

    @pensu-8tNeGU Sep 23, 2011

    Yes, C++ supports pointers. And i dont know how it is related to data security, and as gaurav said u have abstraction in C++ to support security.