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
Answers were Sorted based on User's Feedback
What is define c?
How does #define work?
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
How do I get a null pointer in my programs?
write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4
What are the different types of constants?
what is the program to display your name in any color?
How can I write a function analogous to scanf?
Differentiate b/w Modify and Update commands giving example.
Can static variables be declared in a header file?
please give code for this 1 2 4 7 11 16