Array of Pointers | Logical Programming in C | Naresh IT

preview_player
Показать описание
Array of Pointers | Logical Programming in C | Naresh IT

Subscribe to our channel and hit the bell 🔔🔔🔔 icon to get video updates.

💡 Visit Our Websites

--------------------------

💡 About NareshIT:

"Naresh IT is having 14+ years of experience in software training industry and the best Software Training Institute for online training, classroom training, weekend training, corporate training of Hadoop, Salesforce, AWS, DevOps, Spark, Data Science, Python, Tableau, RPA , Java, C#.NET, ASP.NET, Oracle, Testing Tools, Silver light, Linq, SQL Server, Selenium, Android, iPhone, C Language, C++, PHP and Digital Marketing in USA, Hyderabad, Chennai and Vijayawada, Bangalore India which provides online training across all the locations

--------------------------

💡 Our Online Training Features:
🎈 Training with Real-Time Experts
🎈 Industry Specific Scenario’s
🎈 Flexible Timings
🎈 Soft Copy of Material
🎈 Share Videos of each and every session.

--------------------------

💡 Please write back to us at

--------------------------

💡 Check The Below Links

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

At 01:30 'a ' is a variable storing the base address of first element of array but what is the address of variable 'a'???🙏

sd
Автор

4:56 but we can't write array a[i] as a+i bcoz it's not a pointer right?

eren_n
Автор

very good explanation sir, but write with blue marker, with black marker we not visible clarityly

gnaneshnayakbadavath
Автор

Ur explanation is excellent sir...!👌Thnqqq🙏 But am confusing while am practicing

ammamanusha
Автор

Thank u sir for ur explanation it is very easy to understand with ur explanation

unnamlalitha
Автор

I am not able to understand this *(p+i)=a+i
As in the second for loop 2046+1 will it not become 2047. I am getting confused here since we avoiding index.

nishantprabhakar
Автор

Thank u sir .... explained superly sir

bunnynikhil
Автор

Sir, your explanation is awesome but try to write little bit dark over the board and it is been tough to catch the writings. Hope u may not mistaken me...

Sar
Автор

sir why we are not using & operator in front of a+1 for storing the reference

nindo
Автор

we need to print *p[i] thanks for explanation sir

prabhuchaitanya
Автор

Sir u told in this video, can we store different base address of arrays
How can assign to pointer arrays

kavyaroyal
Автор

If the address of a[0] is 4046, , then the address of a[1] should be 4050, , not 4048, , because it is an integer type, , the incremen should be 4 bytes

iplwinassets
Автор

sir pen accha use karo clear nhi dekh raha h

food
Автор

Sir teach array of pointers using dynamic memory allocation.. Please

AtulSingh-dovu
Автор

i think it should be like this
*(p+i)=(int*)(a+i)
because the name of the array 'a' if i write a+1 that's mean it increases by array size i.e(sizeof(int)*5) am i right?

Odo_ela_sabil_rabek
Автор

TO PRINT ELEMENTS STORED IN ARRAY OF POINTERS.

#include <stdio.h>

int main()
{

int a[5] = {1, 2, 3, 4, 5};

int *p[5];
for(int i = 0; i<5; i++)
{
*(p+i) = a+i;//p[i] = &a[i];
}

for(int i = 0; i<5; i++)
{
printf("%d\n", *(*(p+i)));
}

return 0;
}

hridyanshpareek
visit shbcf.ru