Derived data type, C/C++ Programming

Derived Data Type:

Array is derived data type to store large collection of data of only one data type.

int mark[100];

char names[25];

Function: will be discussed early. Pointer:

Pointer variable works similar to pointer in C. int a, *ptr;

ptr = &a;

C++ has added features called constant pointer and pointer to a constant. char* const ptr1 = "good"; It is constant pointer

int const *ptr = &a; It is pointer to a constant

 

 

Posted Date: 9/20/2012 7:32:49 AM | Location : United States







Related Discussions:- Derived data type, Assignment Help, Ask Question on Derived data type, Get Answer, Expert's Help, Derived data type Discussions

Write discussion on Derived data type
Your posts are moderated
Related Questions
Describe about the container class. -Class to hold objects in external storage or memory. It acts as a generic holder. - It has a predefined behaviour and a known interface.

Syntax rules for writing a destructor function Its name is the similar as that of the class to which it belongs, except that the first character of the name is the symbol t

What if I cannot wrap the local in an artificial block? need help on Artificial Block in c++.


Write a main program that uses these system calls to echo the typed characters. The pseudo code will look something like: void traphandler ()  {    if (R0 == 0) { // read sys

When you are designing a generic class to have or otherwise manage objects of other types, when the format and behavior of those other types are unimportant to their containment or

Differentiate between the expression "++a" and "a++"? - With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment. - Wi

Write a program to convert English units to metric (e.g., miles to kilometers, gallons to liters, etc.). Include a specification and a code design.

recsection method source code for searching position

I want a Reverse engineer a .exe to obtain the code Project Description: I'd like to get the full C++ source code from a .exe please Skills required is C++ Programming