Wednesday, 19 March 2014

Basic Array Program in C

By vm  |  10:14 No comments


/*********** Basic Array Program in C **************/

#include<stdio.h>
void main()
{
 int a[5]={1,2,3,4,5};
 int *p;
 p=a;
 printf("%u\n",a);
 printf("%u\n",a+1);
 
 printf("%u\n",a[3]);

 printf("%u\n",p++);
 printf("%u\n",++p);
        
}
 

Author: vm

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

0 comments:

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles

© 2014 VOIP4Learn. WP themonic converted by Bloggertheme9. Powered by Blogger.
TOP