Tag Archives for Call By Reference

Use the pointer with function to print the value and address of the array element

#include<stdio.h> main ( ) { int arr[4]={ 5 , 10 , 15 , 20 }; fun ( arr); }   fun ( int *a) { int i ; for ( i = 0; i <=4;i++) { printf ( " value … Continue reading

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

← Older posts

Newer posts →