What is the difference b/w main() in C language and main()
in C++.
Answer Posted / sagarika
In C language , main() does not return any value.
Hence there is no need of return type whereas in c++ main
returns the value. if there is no return type we should
specify it by writing the keyword void before main.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
using only #include
Is null valid for pointers to functions?
What are linker error?
How can you determine the size of an allocated portion of memory?
What is a nested loop?
How are 16- and 32-bit numbers stored?
How can I read in an object file and jump to locations in it?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
How many header files are in c?
Can a pointer point to null?
What is the difference between typedef struct and struct?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Explain the binary height balanced tree?
What are the different data types in C?