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
solution of problem based on poiter

need some help with finishing a program

1. Create text a file with the name "myemail" that has a single line in it, consisting of your email address. Something like "firstname_lastname@carleton.ca" (or your hotmail or gm

A: No. If they're utilized properly, they increase encapsulation. You frequently require splitting a class in half while the two halves will have distinct numbers of instances o

world wide web

The question description: You are required to make a C++ program to conduct timber component (beam and column) structural design according to EC5 (all the relevant design codes

Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number

Tell what the derived class inherits or doesn't inherit? A: Inherits: - All data member defined in the parent class (even though such members might not always be accessible

padovan series with words

algo of stack using two queue