C + + face question Collection

Source: Internet
Author: User

SOURCE 1:http://www.zhihu.com/question/27950576

The basic topic probably has the following several

1, using pointers, references or direct values to allocate memory, which can succeed, which will leak

2. Different meanings of static in different scenes

3. What is the difference between vector and list?

4. What is polymorphic

5. The difference between new and malloc

6. Constant pointer and pointer to constant

7, in situ reversal linked list

8. Determine if the chain list has a ring

9, inheritance, multiple inheritance, virtual function table and other effects on sizeof

In the C + + language I generally have three aspects:

One is pointers and memory allocations to see if there is any concept of memory management and access

One is virtual function, look at the understanding of class and inheritance

Finally see the other side to c++11 and c++14 have no understanding, see the language there is no basic curiosity and attention.

C + + face question Collection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.