It is (...) mother of many modern Programming language (eg. Python , Ruby)
C is not the "mother" of Python and Ruby. Both are rather Lisp-like.
C programs must be translated from human readable code to machine readable code.
No, there are C interpreters.
#include<stdio.h>
This is not recommended. You should add a space before the <.
main() is a special function , in every program this function is executed first.
Not necessarily. In WinAPI applications, WinMain() can be used, in other applications you can (probably) tell the linker where to start.
And this () parentheses help Compilers identify that it is a function.
No.
() is the lazy form of (void), it tells the compiler that this method does not have any parameters. (Which, strictly spoken, is not even true either. main() has two default parameters, int argc and char** argv. You can omit them if you don't need them, but your operating system will pass them to your application anyway.)
we'll find { a curly brace , it denotes the begining of a function
... and every other block which spans more than one line.
Well, you asked for it.
C is not the "mother" of Python and Ruby. Both are rather Lisp-like.
No, there are C interpreters.
This is not recommended. You should add a space before the
<
.Not necessarily. In WinAPI applications,
WinMain()
can be used, in other applications you can (probably) tell the linker where to start.No.
()
is the lazy form of(void)
, it tells the compiler that this method does not have any parameters. (Which, strictly spoken, is not even true either.main()
has two default parameters,int argc
andchar** argv
. You can omit them if you don't need them, but your operating system will pass them to your application anyway.)... and every other block which spans more than one line.
Thank You For Pointing my faults, i learnt a lot.
Thank You.
I'll fix it but for now i think it would a good idea to unpublish it.
That's up to you. :-)
;-)
I added this line in the post.
I think him is refer to the main and first interpreters written in C:
Python -> CPython
Ruby -> Ruby MRI, YARV