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
Why c is called a mid level programming language?
What is Bitwise Operator and how it works?
write a program to compare 2 numbers without using logical operators?
Define macros.
how to print this pyramid * * * * * * * * * * * * *
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
How can I do graphics in c?
How to access or modify the const variable in c ?
16 Answers HCL, HP,
What is the use of the function in c?
How to write a program for swapping two strings without using 3rd variable and without using string functions.
Why are all header files not declared in every c program?
What is pointer in c?