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 / chandrakala
3.both are works well.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
Which of these functions is safer to use : fgets(), gets()? Why?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What are lookup tables in c?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What is the meaning of typedef struct in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What are shell structures used for?
What are the two types of structure?
plz let me know how to become a telecom protocol tester. thank you.
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
How can I prevent another program from modifying part of a file that I am modifying?
When should a type cast be used?
Mention four important string handling functions in c languages .
please explain every phase in the "SDLC" in the dotnet.
what is the function of pragma directive in c?