i was just wondering if comments are are ONLY indicated by
/* . . . */ or also as //
I was reading the 1st tutorial, but it was for C++, but can i use // in C too?
thanx in advance
i was just wondering if comments are are ONLY indicated by
/* . . . */ or also as //
I was reading the 1st tutorial, but it was for C++, but can i use // in C too?
thanx in advance
If your compiler support //, sure you can.
Most compilers support it, but, TC and others, do not support it.
The use of // for commenting is added to the latest ANSI C standard. Note that older C compilers do not support this, also there are more recent C compilers which do not support it.