Subscribe To Our Newsletter

Sign Up Now To Get Free Coupon Codes, Event Coupon Codes Updates, Offers Updates. It's 100% Free!

We Hate Spam! Really, It's terrible and we never do it.

C++ | Beginning of Arrays | Lecture 7

beginning of arrays

Lecture 7:

Today we 'll discuss about Arrays in C++.
Array is a data structure, which allows us to collect same size and type of values in single variable. And if you need to call any specific value within array. You need to call its position. Here you will learn that how can we play will array in C++.

 /*  
  Name: Beginning Concept of Arrays  
  Copyright: Sameearticles.blogspot.com  
  Author: Samee Ullah Feroz  
  Date: 28/02/14 16:08  
  Description: Here you will learn about arrays that what is array?  
 */  
 #include <iostream>  
 #include <cmath> //it is for all math functions library  
 int main() //it is actually a function here  
   {  
    using namespace std;  
    int ages[3];  
    ages [0]=21;  
    ages [1] = 19;  
    ages[2] = 9;  
   cout << ages[1] + ages [0] << endl;  
    system("pause");  
    return 0;  
   }   
Share this article :

Post a Comment

Give your reviews about this blog. Leave your comments. what do you think about this post?

Comments Description is given below:
1) I love to read comments, but do not spam.
2) Like this blog and also tweet its posts.
3) You can use some xHTML tags.
4) All Comments are Do Follow, Please try to use blog professionally.
5) Mention Your Name below the comment.
6) You can also suggest for improvement.
7) Do not forget to subscribe Samee Articles blog.

---------------------------------------
Thanks for visiting QWC.Me.
==========================================
For free guidelines contact me on SEO Expert | Samee Ullah Feroz is online there.
==========================================
Best Regards

 
Support : | Internet Marketing Specialist And Business Developer
Copyright © 2013-2016. Samee Articles - All Rights Reserved
Proudly powered by Blogger