Arrays within a class, C/C++ Programming

Arrays within a class:

It is just declaring or constructing a derived type array inside the class.  It works similar

to regular array.

const int size=10;

class array

{int a[size]; Public:

void setval(void);

void display(void);

};

Posted Date: 9/20/2012 7:54:05 AM | Location : United States







Related Discussions:- Arrays within a class, Assignment Help, Ask Question on Arrays within a class, Get Answer, Expert's Help, Arrays within a class Discussions

Write discussion on Arrays within a class
Your posts are moderated
Related Questions
Passing and Returning Objects Objects can be passed to a function and returned back just like normal variables. When an object is passed by content, the compiler makes another

Rules of Operator Overloading It is a function defined to an operator with new term or meaning. It cannot produce new operator. It cannot modified the meaning of th


what is the diffeerence between c and c++

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

what is oops

Consider the following example: int max(int x, int y)                  {                                 return ( x > y) ? x : y ;                  }   float max

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

Ques.Implement a c/c++ program to find a shortest path between two nodes in a network?network should be taken as an adjacency matrix.

string S convert it to a palindrome by doing chara, C/C++ Programming