hi all, i was browsing archieves ....i see forum memebers are using the follwing syntax
1. unsigned x // is it legal ?
i have seen only unsigned int x or unsigned char c etc. but some memebers are writing simply unsigned x. no data type !!!!. still the program works. question is how the program know what data type it is ? is it a standard ?
2. sizeof x // is it legal ?
i know only sizeof(x) // paranthesis . sizeof is a operator. how the above syntax works ?
3. returning inside a function.
func(param1,param2)
{
if(condition) // code
return ; // is it legal ? look ,what to be returned is not specified
else
return;
}
generally we write return some_variable or return some_number.
but in the above syntax what will be returned ? nothing is specified at all !!
thanks
all the above syntax works. can anybody give some comment on this.