C++ Institute CLA-11-03 Question Answer
-
What happens if you try to compile and run this program?
#include
int *f();
int main (int argc, char *argv[]) {
int *p;
p = f();
printf("%d",*p);
return 0;
}
int *f() {
static v = 1;
return &v;
}
Choose the right answer:
C++ Institute CLA-11-03 Summary
- Vendor: C++ Institute
- Product: CLA-11-03
- Update on: Jul 20, 2025
- Questions: 40