Tag Archives for Array

program to print the value and address of the element

#include<stdio.h> int main ( ) { int arr[4] = { 5 , 10 , 15 , 20 }; int i = 0; for ( i=0;i<4;i++) { printf ( "value of arr[%d] = %d\n",i,arr[i]); printf ( " address of arr[%d] = … Continue reading

15. November 2009 by Jishnu
Categories: C Programming | Tags: | Leave a comment

← Older posts