Friday, July 31, 2009

What are types of function in c programming?

I dont know the exact name called function but i know the concept:





1. pass-by reference





it is a function made using different variables to call the function





e.g:


void name (%26amp;int a)


...


...


name(x);








2.pass-by value same variable





e.g:


void name (%26amp;int a)


...


...


name(a);





3. under main function


this function are made after the main





main()


{


...


...


}


void name(int a)


{


}








this are my ideas about function


goodluck

What are types of function in c programming?
Computer Tutorials, Interview Question And Answer


http://freshbloger.com/


No comments:

Post a Comment