0

If we not use the value for array index ,then what happen??

#include<iostream.h> #include<conio.h> void main() { int a[]; cout<<a; getch(); }

6th Sep 2020, 8:56 AM
Pathan Nishad Amir
Pathan Nishad Amir - avatar
2 Respostas
+ 2
It'll give you address of first element in array. a == &a[0]
6th Sep 2020, 9:16 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 1
I think you are using Turbo C++. Please don't use it if you really want to learn C++. https://www.sololearn.com/discuss/288609/?ref=app
6th Sep 2020, 9:18 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar