Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer simple c++ questions 1. What is the entry point into every C+ program? 2. What are the basic whole types? 3. What are

Please answer simple c++ questions image text in transcribed
image text in transcribed
1. What is the entry point into every C+ program? 2. What are the basic whole types? 3. What are the basic decimal types? 4. 5. 6. What does unsigned do to a type? All variables must be defined before use. C++ is a strongly typed language. What are the derived types? 7. What type of arrays can you have? 8. Can you have an array of arrays? If so, what is it? 9. Give the general definition of an array 10. What is a pointer? 11. What types can you point to? 12. If a pointer points to an array, only the first address of the array is stored. A pointer can only hold 1 address. 13. Give the general definition of a pointer 14. What is the difference between a c-string and a string? 15. Strings are classes with member functions. We will learn more this semester 16. What is a structure? 17. Define a structure that has the name s name and contains an integer called t1, a long called t2, and an array of twenty characters called t3 18. Does the definition in the question above contain memory? 19. Write a declaration of the structure declared above. 20. For the declared structure, write a statement to set t1 to 10, t2 to 73438, and the character array to the string "C++is fun" 21. Give an example of a single line comment. 22. Give an example of a multiple line comment. 23. What is the output statement in C++? 24. What is the input statement in C++? 25. Give an example of an output statement. 26. Give an example of an input statement 1. What is the entry point into every C+ program? 2. What are the basic whole types? 3. What are the basic decimal types? 4. 5. 6. What does unsigned do to a type? All variables must be defined before use. C++ is a strongly typed language. What are the derived types? 7. What type of arrays can you have? 8. Can you have an array of arrays? If so, what is it? 9. Give the general definition of an array 10. What is a pointer? 11. What types can you point to? 12. If a pointer points to an array, only the first address of the array is stored. A pointer can only hold 1 address. 13. Give the general definition of a pointer 14. What is the difference between a c-string and a string? 15. Strings are classes with member functions. We will learn more this semester 16. What is a structure? 17. Define a structure that has the name s name and contains an integer called t1, a long called t2, and an array of twenty characters called t3 18. Does the definition in the question above contain memory? 19. Write a declaration of the structure declared above. 20. For the declared structure, write a statement to set t1 to 10, t2 to 73438, and the character array to the string "C++is fun" 21. Give an example of a single line comment. 22. Give an example of a multiple line comment. 23. What is the output statement in C++? 24. What is the input statement in C++? 25. Give an example of an output statement. 26. Give an example of an input statement

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

1489982175, 978-1489982179

More Books

Students also viewed these Databases questions