Pointers and const in C++

preview_player
Показать описание
C++ Programming: Pointers and const in C++
Topics discussed:
1. Pointers and const.
2. Examples showing the declaration & usage of Pointers that point to const Objects.
3. const Pointers.
4. Examples showing the declaration & usage of const Pointers.

Music:
Axol x Alex Skrindo - You [NCS Release]

#CPPByNeso #CPP #constPointer
Рекомендации по теме
Комментарии
Автор

really thank you for Pointers and const in C++ explanation

stream.abhimanyu
Автор

Thank you so much for this video 🙂👍!!!

nehachhetri
Автор

I like your clear explanation 😀😀😀😀😀😀😀😀😀

chandararanget
Автор

Osm it helps me much thankyou please make more videos on c and c++

katarikrishna
Автор

When can we get the new lectures in this series of c++?

abhishekupadhyay
Автор

Please please please
Can u make videos according to my college syllabus

Module 1
Introduction of C++, Programming paradigms, Language translator, Structure of C++
program. Declaration, Expression and statements: Data types, Variables, Constants,
Operator and expression, Operator precedence and associativity & Control statements.

Module 2:
Array: Declaration & Initialization, 2-D Array & Multidimensional Array. Function:
Declaration, Definition and call, Inline function, Main function argument, Reference variable,
Function overloading, Default argument, Parameter passing, Recursion, Scope of variable,
Return-by-value and Return-by-reference

live_codingG
Автор

Can we have constant references just like constant pointers ?

rajeshprajapati
Автор

// sir please explain this program


//
#include <iostream>
using namespace std;
int add(int a, int b)
{
return a+b;
}

int sub(int a, int b)
{
return a-b;
}

int operation (int a, int b, int(*fun)(int x, int y))
{
int g;
g=(*fun)(a, b);
return g;
}
int main()
{
int m, n;
m=operation (10, 5, add);
cout<<m<<endl;
n=operation (10, 5, sub);
cout<<n<<endl;

}

mr.knight