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
how do you declare an integer variable

•Flow Chart and Pseudocode of Add module - Hotel booking - Signup for new membership Delete module - Hotel reservation cancellation - Change of reservation

A: Provided that function parameter is "const reference", compiler create temporary variable in following two ways. a) The actual argument is the correct type, however it isn't

dispaly the last ant on rod

how can i write reverse digit function like writing 1234 and printing 4321


An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours plus any overtime pay. Overtime pay equals the total overtime hours multiplied

Write a 3-4 page paper (350 words per page) in APA format detailing the development and use of C++ in academia and in industry. Explain the pros and cons of C++ as a programming la

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

i need amibroker afl to dll plugin