Telegram Group 🔥🔥🔥
Get answers in minutes
Questions answered :
48
/50
Answer verified
Which of the following statement is correct about the program given below
#include<iostream.h>
static int b = 0;
void DisplayData(int *x, int *y = &b)
{
cout<< *x << " " << *y;
}
int main()
{
int a = 10, b = 20 ;
DisplayData(&a, &b);
return 0;
}
🗓 Jul 11, 2021
votes
Allison
🌐 India
Cool if had answer
votes
Deeksha
🌐 India
Can anyone please help me with the explanation?
Was your question answered?
Thanks for the feedback! ✅
Want to get famous? 📸
Answer question and get 🤩 high-lighted on our homepage.