Mention and explain any three user defined data types and how they are initialized in the program.


Answer:

-Variable, functions, arrays, structures, enums, unions etc.
Explanation of each.
Examples of initialization:

Variables:
a=8;, or initialized using a constructor.

Functions:
-Initialized during passes, or by default.

Arrays:
-Initialized at declaration or at run time


Share To Friends Via:
        






More Questions For Programming in C plus plus:



  Discuss the major causes of software crisis in the world (Answered)
Discuss the major causes of software crisis in the world .
Posted On:Tue 9, March 2021 20:00:39 pm
  A perfect square is a number that can be expressed as the product of two equal integers. Draw a flowchart, and write a corresponding class oriented program to check if any entered number is a perfect square integer number. (Answered)
A perfect square is a number that can be expressed as the product of two equal integers. Draw a flowchart, and write a corresponding class oriented program to check if any entered number is a perfect square integer number. .
Posted On:Tue 9, March 2021 20:05:47 pm
  What are the advantages of Object oriented programming over Modular programming (Answered)
What are the advantages of Object oriented programming over Modular programming .
Posted On:Tue 9, March 2021 20:18:37 pm
  Explain the following programming terms: i. Friend function ii. Inline functions (Answered)
Explain the following programming terms: i. Friend function ii. Inline functions .
Posted On:Tue 9, March 2021 20:21:21 pm
  Explain the relationship between C and C++ programming. (Answered)
Explain the relationship between C and C++ programming. .
Posted On:Tue 9, March 2021 20:22:59 pm
  Tokens play a vital role in programming. Give an account of the different types of tokens in a typical C++ program. (Answered)
Tokens play a vital role in programming. Give an account of the different types of tokens in a typical C++ program. .
Posted On:Tue 9, March 2021 20:24:49 pm
  A class is required to determine the number of bytes for each data type entered into the program. Write a class oriented program that displays the corresponding bytes for each data type in the program. (Answered)
A class is required to determine the number of bytes for each data type entered into the program. Write a class oriented program that displays the corresponding bytes for each data type in the program. .
Posted On:Tue 9, March 2021 20:26:41 pm
  How is an exception handled in C++? Explain by use of the syntax. (Answered)
How is an exception handled in C++? Explain by use of the syntax. .
Posted On:Tue 9, March 2021 21:35:20 pm
  With the help of syntax and an example, explain parameterized constructors in a class (Answered)
With the help of syntax and an example, explain parameterized constructors in a class .
Posted On:Wed 10, March 2021 05:50:43 am
  Mention the possible errors in a program and explain how they are corrected (Answered)
Mention the possible errors in a program and explain how they are corrected .
Posted On:Wed 10, March 2021 05:52:54 am
  Explain the importance of the following types of operators in object oriented programming. i. Scope resolution operator (::). ii.this operator. (Answered)
Explain the importance of the following types of operators in object oriented programming. i. Scope resolution operator (::). ii.this operator. .
Posted On:Wed 10, March 2021 05:54:32 am
  With the help of syntax and a flowchart, explain the following types of control structures. i. do ….. while loop control structure ii. switch case control structure (Answered)
With the help of syntax and a flowchart, explain the following types of control structures. i. do ….. while loop control structure ii. switch case control structure .
Posted On:Wed 10, March 2021 06:20:04 am
  State two uses of pointers in a program. (Answered)
State two uses of pointers in a program. .
Posted On:Wed 10, March 2021 06:22:09 am
  Explain how reusability is achieved in object oriented programming (Answered)
Explain how reusability is achieved in object oriented programming .
Posted On:Wed 10, March 2021 06:23:13 am
  By use of an example, explain array of objects. (Answered)
By use of an example, explain array of objects. .
Posted On:Wed 10, March 2021 06:30:07 am
  Discuss the potential features of object oriented programming (Answered)
Discuss the potential features of object oriented programming .
Posted On:Wed 10, March 2021 06:41:23 am
  Explain the application areas of object oriented programming (Answered)
Explain the application areas of object oriented programming .
Posted On:Wed 10, March 2021 06:42:59 am
  Mention any two pure object oriented programming languages (Answered)
Mention any two pure object oriented programming languages .
Posted On:Wed 10, March 2021 06:43:51 am
  Explain the following object oriented programming terms; i. Encapsulation ii. Polymorphism iii. Function overloading (Answered)
Explain the following object oriented programming terms; i. Encapsulation ii. Polymorphism iii. Function overloading .
Posted On:Wed 10, March 2021 06:46:42 am
  What are the various types of tokens available in C++ programming language (Answered)
What are the various types of tokens available in C++ programming language .
Posted On:Wed 10, March 2021 06:48:05 am
  Discuss the importance of function declaration in a program. (Answered)
Discuss the importance of function declaration in a program. .
Posted On:Wed 10, March 2021 06:50:25 am
  Explain the possible ways of code re use in object oriented programming (Answered)
Explain the possible ways of code re use in object oriented programming .
Posted On:Wed 10, March 2021 06:51:36 am
  Explain the importance of array initialization. (Answered)
Explain the importance of array initialization. .
Posted On:Wed 10, March 2021 06:53:13 am
  The world is experiencing paradigm shift from structured programming approach to object oriented programming approach. Explain the reasons that justify this scenario. (Answered)
The world is experiencing paradigm shift from structured programming approach to object oriented programming approach. Explain the reasons that justify this scenario. .
Posted On:Wed 10, March 2021 06:55:40 am
  How are control structures important in program development? Explain (Answered)
How are control structures important in program development? Explain .
Posted On:Wed 10, March 2021 06:56:51 am
  Goto control structure is not widely used in programming. Justify the statement. (Answered)
Goto control structure is not widely used in programming. Justify the statement. .
Posted On:Wed 10, March 2021 06:57:48 am
  With the help of syntax and a flowchart, explain the switch case control structure. (Answered)
With the help of syntax and a flowchart, explain the switch case control structure. .
Posted On:Wed 10, March 2021 07:00:49 am
  Discuss the importance of arrays in a program. (Answered)
Discuss the importance of arrays in a program. .
Posted On:Wed 10, March 2021 07:04:31 am
  With the help of syntax, explain how arrays are initialized outside the class. (Answered)
With the help of syntax, explain how arrays are initialized outside the class. .
Posted On:Wed 10, March 2021 07:06:03 am
  Discuss any three rules for overloading operators in a program. (Answered)
Discuss any three rules for overloading operators in a program. .
Posted On:Wed 10, March 2021 07:07:23 am

More Questions Categories:


About Us

Contact us

Terms of use | Privacy policy

Follow Us:               

All Rights Reserved © 2024; pscustudies.com