Describe what are dynamic pointers, C/C++ Programming


(a) Describe what are dynamic pointers. Show their memory representations diagrammatically.

(b) Write short notes about pointers in arrays, paying attention on base address.

(c) The structure Student consists of three members (StudID, Name and AverageMark). Write a C++ program that will allow a user to enter the student ID, the name and the average mark of a student and then display these data on the screen. The display is done using a function Display. You should use a structure pointer and pass it in the function Display.

Posted Date: 11/16/2013 1:23:47 AM | Location : United States

Related Discussions:- Describe what are dynamic pointers, Assignment Help, Ask Question on Describe what are dynamic pointers, Get Answer, Expert's Help, Describe what are dynamic pointers Discussions

Write discussion on Describe what are dynamic pointers
Your posts are moderated
Related Questions
i havea a small C++ i need help with. should not be anything special for an experienced programmer

C Program to Check  EVEN & ODD NO   main() {           int n, a;           clrscr();           printf("ENTER ANY NUMBER: ");           scanf("%d", &n);

Purpose This assignment is an exercise in implementing the queue ADT using a singly-linked list. This assignment also introduces the concept of templates. Assignment Th

array of class objects and single inheritance

Imagine that the server program is a setuid program owned by the root, then after you penetrate the program with a shell running, you become the ROOT and you can remove the whole f

Is there any difficulty with the following : char*a=NULL; char& p = *a;? A: The result is indeterminate. You must never do this. A reference has to always refer to some object.

#include #include #include using namespace std; #define MAX 5 #define INF (1 #define DEBUG if(0) #define pii pair #define pb(x) push_back(x) class

Aim: To implement a program for bank account using static data type. Code: class bank {             static int acc_no;             int acc;             float b

The car’s measurements are illustrated, using two arrays. Array 1 = {L, R, L, R, R, L, R, R, L, R, R, L, R, L, L, R, Z}

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve betw