What is the difference b/w main() in C language and main()
in C++.
Answer Posted / gganesh
In c, main function will execute starting itself.
In c++, main function will execute finally
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why functions are used in c?
What are the ways to a null pointer can use in c programming language?
Define and explain about ! Operator?
What is calloc in c?
What is meant by int main ()?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Which is best book for data structures in c?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is the difference between the local variable and global variable in c?
Why does everyone say not to use scanf? What should I use instead?
i got 75% in all semester am i eligible for your company
What are types of functions?
What's the total generic pointer type?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.