c method attributes