How to insert values in array - c++ program, C/C++ Programming

How to insert values in array - c++ program:

Write a program to insert values in array

void main()

{

int a[2][3][2]={

                                {

                                  {2,4},

                                  {7,8} ,

                                  {3,4}

                                 },

                                 {

                                   {2,2} ,

                                   {2,3}  ,

                                   {3,4}

                                  }

                                 };

                clrscr();

 

       printf("\na=%u",a);

       printf("\n*a=%u",*a);

       printf("\n**a=%u",**a);

       printf("\n***a=%u",***a);

       printf("\na+1=%u",a+1);

       printf("\n*a+1=%u",*a+1);

       printf("\n**a+1=%u",**a+1);

                printf("\n***a+1=%u",***a+1);

                getch();

                }

Posted Date: 10/19/2012 3:00:55 AM | Location : United States







Related Discussions:- How to insert values in array - c++ program, Assignment Help, Ask Question on How to insert values in array - c++ program, Get Answer, Expert's Help, How to insert values in array - c++ program Discussions

Write discussion on How to insert values in array - c++ program
Your posts are moderated
Related Questions
Problem : Change to palindrome A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your ta

Simpson's Rule is a more accurate method of numerical integration than the method described in class. Using Simpson's Rule, the integral of a function f between a and b is approxim

Constructors and Destructors: A Class is defined as constructor by declaring a constructor in the form of function inside the class.  In other word a function in the name of

how would land elevation have changed if Coronado had traveled 150 miles due west from what is today Arizona instead of east toward New Mexico

please help me get all the inbuilt functions in c++

What is the use of PEAR in php? PEAR is termed as PHP Extension and Application Repository. It provides structured library to PHP users and also gives provision for package mai

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 between two points can b


store the name of the political parties and the corresponding votes in two lists of equal length. access the lists is provided by two methods, each of which creates an interator th

Project Description: Not just like that though. I want a similar program that can scan through poker lobbys (pokerstars, full tilt, ongame and ipoker) and seat me to the left of