What is the output of the program?#include <iostream>using namespace std;int main(){int tab[4]={10,20,30,40};tab[1]=10;int *p;p=&tab[0];cout<<*p;return 0;}
A. It prints: 10
B. It prints: 20
C. It prints: 11
D. It prints: 30
What is the output of the program?#include <iostream>using namespace std;int main(){int tab[4]={10,20,30,40};tab[1]=10;i
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the output of the program?#include <iostream>using namespace std;int main(){int tab[4]={10,20,30,40};tab[1]=10;i
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!