Shriramana Sharma wrote: > Is providing an input to a function by constant reference more efficient > than passing it by value? In what way. Passing a reference doesn't copy the value. This can be significant if the value is large (i.e. a structure); for values which are no larger than a pointer, it is unlikely to make any difference. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html