Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

COP3014 Final Exam – Gaitros   1)The &, also known as the address operator, returns the memory address of a variable

Computer Science Feb 03, 2021

COP3014 Final Exam – Gaitros

 

1)The &, also known as the address operator, returns the memory address of a variable.

 

  1. Array items can be used as pointers.

 

  1. When this is placed in front of a variable name, it returns the address of that variable.

 

  1. What’s the output when you use the & operator?

 

  1. A pointer variables store addresses

 

  1. What is the output when you put a indirection operator(*) in front of a pointer?

 

  1. Use of the ++ and -- for pointers and what arithmetic operators can be used on pointers.

 

  1. Not all arithmetic operations may be performed on pointers

 

  1. Dynamic memory occurs during runtime and how it is done with the “new” operator

 

  1. What is the null terminator

 

  1. What do strcpy, strcat, and strcmp do with C-Strings?

 

  1. How atoi and atol work with C-Strings.

 

  1. Declaring C-Strings, how many you have to set aside including the null terminator

 

  1. Use and application of tolower, toupper, isupper, and islower.

 

  1. Format using a struct where braces {} and semicolons

 

  1. Accessing struct members using the .(dot) notation

 

 

  1. Accessing struct when it is a pointer using the struct pointer (->) operator

 

  1. Using structs and passing them as parameters and return them as function types

 

  1. Declaring and using enumeration types. What happens when you try to print one (enum)

 

  1. What do private and public mean in class definitions and how they are used to protect data

 

  1. The use of #ifndef, #define, #endif

 

  1. The use of constructors, default constructors, and when they are called

 

  1. When and where public and private data items can be called

 

  1. How the data members are called in a class (the .(dot) operator)

 

  1. How can you identify a constructor and how many default constructors can you have

 

  1. Basic C++ syntax, use of the semicolon, declaring constants, declaring an array.

 

  1. How do you know a function is a recursive function

 

  1. What makes a well defined recursive function

 

  1. The drawbacks of using a recursive function

 

  1. How many times might a recursive function be called given an example

 

 

 

 

 

 

 

 

 

 

Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment