Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

CLA-11-03 Exam Dumps - CLA - C Certified Associate Programmer

Searching for workable clues to ace the C++ Institute CLA-11-03 Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s CLA-11-03 PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 4

Select the proper form for the following declaration:

p is a pointer to an array containing 10 int values

Choose the right answer:

A.

int * (p) [10];

B.

int (*p) [10];

C.

The declaration is invalid and cannot be coded in C

D.

int (*)p[10];

E.

int *p[10];

Full Access
Question # 5

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

#include

#include

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

double x = 1234567890.0;

printf ("%f",x);

return 0;

}

Choose the most precise answer:

A.

The program outputs 1234567900.0

B.

Execution fails

C.

The program outputs 1234567890.0

D.

Compilation fails

E.

The program outputs a value greater than 1234500000.0 and less than 1234600000.0

Full Access
Question # 6

Assume that ints and floats are 32-bit wide.

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

#include

union uni {

float f, g;

int i, j;

};

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

union uni u;

printf ("%ld", sizeof (u) ) ;

return 0;

}

Choose the right answer:

A.

The program outputs 16

B.

The program outputs 8

C.

Compilation fails

D.

The program outputs 4

E.

The program outputs 24

Full Access
Question # 7

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

#include

#include

void fun (void) {

return 3.1415;

}

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

int i = fun(3.1415);

printf("%d",i);

return 0;

}

Choose the right answer:

A.

The program outputs 3

B.

The program outputs 3.1415

C.

The program outputs 4

D.

Execution fails

E.

Compilation fails

Full Access
Question # 8

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

#include

struct s {

int i;

};

void fun(struct S st) {

st.i --;

int main (void) {

int k;

struct $ str1 = { 2 };

fun (str1) ;

k =str1.i;

printf("%d", k);

return 0;

}

-

Choose the correct answer:

A.

The program outputs 3

B.

Compilation fails

C.

The program outputs 1

D.

The program outputs 2

E.

The program outputs 0

Full Access
Go to page: