Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
Answer Posted / k.kavitha
3) They both work
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How do you initialize pointer variables?
Does c have function or method?
What is %s and %d in c?
What is the difference between procedural and functional programming?
What is pragma in c?
#include
Is boolean a datatype in c?
how logic is used
What will the preprocessor do for a program?
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
What are pointers?
Explain what are multibyte characters?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is a structural principle?
What are pointers in C? Give an example where to illustrate their significance.