Which definitions are correct?
Suggested Answer: A, C
Get Premium CPA-21-02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
37 comments · newest first
ES
Estrella
11 months ago
I thought you could use 'int' with 'char'... guess not!
MA
Mattie
11 months ago
Yup, A and C are the only valid ones here.
LA
Lauran
11 months ago
Wait, is D even a thing? Sounds off.
SO
Sonia
11 months ago
Totally agree, B is definitely wrong.
RY
Ryan
11 months ago
A and C are correct!
AD
Adaline
12 months ago
D seems wrong to me; I don't think you can declare an int with the name "char" since it's already a type.
ST
Stanford
12 months ago
I feel like C is also correct since "char" is a valid type for a character variable.
CH
Cherelle
12 months ago
I'm not sure about B, but I remember something about reserved keywords. Isn't "double" a reserved type in C?
CH
Chanel
1 year ago
I think option A is correct because it looks like a standard variable declaration for an integer.
HA
Hana
1 year ago
I'm a little confused by this question. I'll need to review my notes on variable declarations to make sure I understand the correct syntax.
SO
Son
1 year ago
"int char;" doesn't make sense to me. That can't be a valid declaration. I'm confident about the first and third options, though.
ER
Eric
1 year ago
Hmm, I'm a bit unsure about the "int double;" declaration. I'll need to double-check the syntax for that one.
GR
Gracie
1 year ago
This looks like a straightforward question on variable declarations. I'll carefully review each option and select the ones that are valid.
XU
Xuan
1 year ago
Okay, I think I've got this. "int age;" and "char c;" are definitely correct. I'm not sure about the other two, so I'll just focus on those two for now.
ID
Idella
1 year ago
I feel like it could be a single source model, but that doesn't seem right since there are multiple steps involved.
KA
Kathryn
2 years ago
Haha, B and D are like something my grandma would come up with. A and C are the clear winners here.
ST
Stevie
2 years ago
Definitely, A and C are the way to go.
CA
Catherin
2 years ago
Yeah, B and D seem a bit off, A and C make more sense.
YO
Yoko
2 years ago
I agree, A and C are definitely the correct definitions.
AM
Ammie
2 years ago
C) char c;
FR
Frederica
2 years ago
A) int age;
DE
Delmy
2 years ago
Ah, the classics - A and C. Good old int and char. B and D are a bit, uh, creative, shall we say?
JA
Jarvis
2 years ago
Definitely A and C. B and D just sound like some programmer's bad joke.
TA
Tayna
2 years ago
Definitely A and C, B and D are not valid definitions.
RO
Royce
2 years ago
Yeah, B and D don't make sense in programming.
SY
Sylvia
2 years ago
I agree, A and C are the correct definitions.
WI
Willodean
2 years ago
Definitely not B and D, they seem incorrect.
AL
Alverta
2 years ago
I think A and C are the only valid options here.
AJ
Aja
2 years ago
Yeah, B and D don't make sense at all.
AN
Antione
2 years ago
I agree, A and C are the correct definitions.
PA
Page
2 years ago
I think C) char c; is also correct, as char is a valid data type.
AS
Ashlyn
2 years ago
I'm not sure about B) int double; though, it doesn't seem right to me.
LA
Latanya
2 years ago
I agree with Lauran, int age; is a valid definition.
MI
Milly
2 years ago
A and C are correct. B and D are nonsensical. Seriously, who comes up with these options?
SA
Sarah
2 years ago
I know right? Who would even think 'int double' or 'int char' make sense?
LA
Laticia
2 years ago
A and C are correct. B and D are nonsensical.
LA
Lauran
2 years ago
I think A) int age; is correct.