[C ++ Basics] types of questions for the c ++ test interview

Source: Internet
Author: User
Keywords

Static, const modifier member variables, member functions, input parameters, return values, volatile,

Memory Management

New, delete, malloc, and free; differences between Delete-Delete []; Memory Allocation (heap, stack, static, and constant), memory leakage, pointer returned by the function,

Data Type

Class-struct difference; pointer-reference difference; sizeof, strlen (),

String Programming

Reverse string order;

Http://www.cnitblog.com/qlb5626267/archive/2008/11/23/51819.html

Object-oriented

Polymorphism, virtual function, rewrite (overwrite), overload, hide (redefinition), inline, static, public, private, protect, virtual, const, new, delete, constructor, destructor, copy constructor, and assign values. Inheritance: (a kind of); combination: (Part A Part Of); constructor, destructor, and assignment function are Class"Big-three ". Initialize the list.

Design Mode

Data structure linear structure, bidirectional list, stack and queue, tree. Sort (bubble, fast, insert, select, merge, and Hill ). Multithreading

Process-thread difference;

Network Programming

IP address (network number, host number, subnet mask)

Database

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.