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
What is volatile, register definition in C
How do we declare variables in c?
What is a scope resolution operator in c?
What are structures and unions? State differencves between them.
Is c high or low level?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What are the restrictions of a modulus operator?
How can I do graphics in c?
to find the closest pair
What is the difference between typedef and #define?
How to define structures? ·
Define circular linked list.
How many types of operator or there in c?
What are void pointers in c?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc