Question

C++ Language 1. Match the related concepts.       -       A.       B....

C++ Language

1. Match the related concepts.

      -       A.       B.       C.       D.       E.       F.   

recursion

      -       A.       B.       C.       D.       E.       F.   

new

      -       A.       B.       C.       D.       E.       F.   

main

      -       A.       B.       C.       D.       E.       F.   

instance

      -       A.       B.       C.       D.       E.       F.   

reference

      -       A.       B.       C.       D.       E.       F.   

overload

A.

heap

B.

same name

C.

start

D.

this

E.

address

F.

stack

2. Match the operator to the C++ syntax. a and b are variable names.

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

assignment

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

equivalence

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

pre-increment

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

post-increment

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

allocation

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

deallocation

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

a's data member b

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

a's method b

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

maximum of a and b

      -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.   

remainder

A.

a=b

B.

a++

C.

a%b

D.

new a

E.

a.b

F.

++a

G.

delete a

H.

a.b()

I.

a>b?a:b

J.

a==b

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) assignment a=b

2) equivalence a==b

3) pre-increment ++a

4) post-increment a++

5) allocation new a

6) deallocation delete a

7) a's data member b a.b

8) a's method b a.b()

9) maximum of a and b  a>b?a:b

10) remainder a%b

Add a comment
Know the answer?
Add Answer to:
C++ Language 1. Match the related concepts.       -       A.       B....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • C++ Language 1. Match the description / meaning with the C++ syntax.       -   ...

    C++ Language 1. Match the description / meaning with the C++ syntax.       -       A.       B.       C.       D.       E.    external class or method that can access private members       -       A.       B.       C.       D.       E.    scope resolution operator       -       A.       B.       C.       D.       E....

  • Need help with these questions UESTION Match the description to the C++ syntax address of a...

    Need help with these questions UESTION Match the description to the C++ syntax address of a Barray of a а» C. &a D. E a0) 1dereference a call function a D access member of object a points to QUESTION 7 A delete pa 8 delete [ Ipa, C <not a pointers D <not dynamically allocated E <no need to deletes Match the new with the d int "pa - new int [1000] ..')int .pa new int. int pa-NULL: int pa-0...

  • 12. Consider C++ class. Which one of the following choices is NOT correct? A. Class instances...

    12. Consider C++ class. Which one of the following choices is NOT correct? A. Class instances can be static, stack dynamic, or heap dynamic. B. If static or stack dynamic, they are referenced directly with value variables. C. If stack dynamic, they are referenced through pointers. D. Stack dynamic instances of classes are always created by the elaboration of an object declaration. E. The lifetime of such a class instance ends when the end of the scope of its declaration...

  • C++ Language 1. Why would you prefer to use recursion? (Multiple answers or one answer) a...

    C++ Language 1. Why would you prefer to use recursion? (Multiple answers or one answer) a When the problem to be solved is naturally recursive, a recursive algorithm provides a clear and simple solution. b Since stack memory is faster than heap memory, and recursion uses stack memory, it is preferable to use recursion. c If a language, like LISP, or a subset of a language, like C++ templates, provides recursion but does not provide looping, then use recursion. d...

  • C++ Part 1, c. Match each of the vocabulary words at the right with the BEST...

    C++ Part 1, c. Match each of the vocabulary words at the right with the BEST definition on the left. This operator is shorthand for adding a value to something ✓ Choose... This keyword is used to de-allocate memory allocated with the new operator. protected exit The increment operator for C++ This method is used to "Clean up" when an object is deleted. private Destructor Operator When you are accessing a method through a pointer, you can use this operator...

  • QUESTION 1 Please match the definition to the word it describes.       -      ...

    QUESTION 1 Please match the definition to the word it describes.       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.       L.    Includes securities that mature in less than one year.       -       A.       B.       C.       D.       E.      ...

  • QUESTION 1 Match the following terms with their definitions.       -       A.   ...

    QUESTION 1 Match the following terms with their definitions.       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.       K.    Nonpolar, does not interact with water       -       A.       B.       C.       D.       E.       F.       G.       H.   ...

  • Match the following structures/molecules to the appropriate label. Pick the MOST appropriate/specific answer.       -...

    Match the following structures/molecules to the appropriate label. Pick the MOST appropriate/specific answer.       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.    L-glycine and D-glycine       -       A.       B.       C.       D.       E.       F.       G.       H.       I....

  • match each reaction column A with column B Column A A. . B. c D nara...

    match each reaction column A with column B Column A A. . B. c D nara Columnın B A. H. HNO₂ H₂504 I H₂SO4 pce F.ID B. Little J. Dexcess (CH3CH2), CL,THE G. OH ? c. DNOCN 2) H₃0t Hot K. Na Btta HE L. PBB I E. Sn/conc.HCI J. Noh ? No F NH N M. Ho not H2SO4 Nath KOH O. 1)CH₂ CH₂ Mg Br. 2) Haut Orta a NaBr- What ? L.

  • Match the term with the example.       -       A.       B.   ...

    Match the term with the example.       -       A.       B.       C.       D.       E.       F.       G.       H.       I.    Most appropriate measure to use when investigating a disease outbreak       -       A.       B.       C.       D.       E.       F.       G.       H.       I.    How confounding...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT