Yes, but either the 'ret' case should look the same, i.e. sizeof(int) and int ret moved into block, or it should be sizeof(e) and int e moved out of block again. I prefer the sizeof(variable name) approach, but not fussed really as long as consistent.