oh chris sorry for that ..regarding with 'void main()' im not too much familiar with 'C' , anway i understand a little bit that in "C".. '0' is considered as false and '>=1' i considerd as...
Type: Posts; User: chronoz13
oh chris sorry for that ..regarding with 'void main()' im not too much familiar with 'C' , anway i understand a little bit that in "C".. '0' is considered as false and '>=1' i considerd as...
another question,in 'C' ,base on the first program 1 and 0 is not only considered as number it is also considered as boolean.(in compiling) .while in java .1 and 0 is only numerical data type when...
ahh so in 'java' the reserve word 'switch' can only accept numerical data types and as well as enums or enumerated data types,
and between 'C' and 'java' i think this is where everything ends...
we were doing this program in 'C' language and it compiled, runs, perfectly without any logical errors
this is the 'C' Code:
#include <stdio.h>
void main()
{