struct bb {
public int v = 7;
int l;
}
//main method
bb test;
when I say bb test; do the fields get initialized to their default values or not?
struct bb {
public int v = 7;
int l;
}
//main method
bb test;
when I say bb test; do the fields get initialized to their default values or not?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal YelvePosted Aug 8, 2022, 6:54 AM