What is the difference b/w main() in C language and main()
in C++.
Answer Posted / ppp
In c:
int main(){ void main(){
..... .......
..... OR ......
return 0; }
}
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
What are different types of pointers?
What is the use of parallelize in spark?
Explain what is the difference between a free-standing and a hosted environment?
How would you obtain the current time and difference between two times?
How can I do serial ("comm") port I/O?
Can we declare variable anywhere in c?
How many header files are in c?
What is external variable in c?
How old is c programming language?
Explain how do you determine whether to use a stream function or a low-level function?
When should you not use a type cast?
Explain built-in function?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is abstract data structure in c?
What is a stream water?