Difference Between An Array And Address of the Array In C OR Cpp Programming

Pubblicato il: 02 aprile 2023
sul canale di: CppNuts
2,533
like

JOIN ME
—————
YouTube 🎬    / @cppnuts  
Patreon 🚀   / cppnuts  

COMPLETE PLAYLIST
————————————
C++ Tutorial For Beginners:    • Introduction To C++  
STL (Standard Template Library):    • STL In C++  
ThreadIng In C++:    • Multithreading In C++  
Data Structures:    • Data Structure  
Algorithms:    • Binary Search  
Design Patterns:    • Factory Design Pattern in C++  
Smart Pointers:    • Smart Pointer In C++  
C++14:    • Digit Separator In C++  
C++17:    • std string_view in C++17 | Fastest String ...  
C++ All Type Casts:    • static_cast In C++  


INTERVIEW PLAYLIST
————————————
C++ Interview Q&A:    • Structural Padding & Packing In C & C++  
C++ Interview Q&A For Experienced:    • How delete[] Knows How Much  To Deallocate...  
Linked List Interview Questions:    • Find Kth Node From Back In Singly Linked List  
BST Interview Questions:    • Search Element In Binary Search Tree (BST)  
Array Interview Questions:    • Reverse An Array  
String Interview Questions:    • Check String Is Palindrome Or Not  
Bit Manipulation Questions:    • Find Set Bit In Integer Number  
Binary Tree Interview Question:    • Invert Binary Tree  
Sorting Algorithms:    • Bubble Sort  
C++ MCQ:    • Video  
C MCQ:    • What printf returns after printing? | C Pr...  
C Interview Questions:    • Designated Initialization In C  

QUICK SHORT VIDEOS
————————————-
C++ Short :    • C++ Short Videos  
C Short :    • Shorts C Programming MCQ  

In this video we will learn what is the difference between array and address of the array.

Iet's suppose there is an array of type integer and if printed like :

printf("%p", array);
printf("%p", &array);

What would be the difference, as the result would be same, so the crux of the video is to know that the type of array and &array is different even though we see the same address is printed.

#cppprogramming #programming #cprogramming


In questa pagina del sito puoi guardare il video online Difference Between An Array And Address of the Array In C OR Cpp Programming della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CppNuts 02 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,533 volte e gli è piaciuto like spettatori. Buona visione!