Free CLA-11-03 Mock Exam – Practice Online Confidently

Increase your chances of passing the C++ Institute CLA-11-03 exam questions on your first try. Practice with our free online CLA-11-03 exam mock test designed to help you prepare effectively and confidently.

Exam Code: CLA-11-03
Exam Questions: 40
CLA C Certified Associate Programmer
Updated: 30 Sep, 2026
Question 1

What happens if you try to compile and run this program?

#include

int main (int argc, char *argv[]) {

int i =2, j = 1;

if(i / j)

j += j;

else

i += i;

printf("%d",i + j);

return 0;

}

Choose the right

answer:

Options :
Answer: E

Question 2

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:

Options :
Answer: A

Question 3

What happens if you try to compile and run this program?

#include 

int main (int argc, char *argv[]) {

int i = 2;

int d= i << 2;

d /= 2;

printf ("%d", d) ;

return 0;

}

Choose the right

answer:

Options :
Answer: B

Question 4

What happens if you try to compile and run this program?

#include 

int main (int argc, char *argv[]) {

char i = 20 + 020 + 0x20;

printf("%d",i);

return 0;

}

Choose the right

answer:

Options :
Answer: A

Question 5

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:

Options :
Answer: A

Viewing Page : 1 - 4
Practicing : 1 - 5 of 40 Questions

© Copyrights FreeMockExams 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreeMockExams). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeMockExams.