hey its amazing... its going continue without any loop. i ran this program and got a new idea... actually i'm totally new in c programming.[QUOTE]Can you tell me what is the diffrence between:[QUOTE]
void main()
main()
int main(void)
hey its amazing... its going continue without any loop. i ran this program and got a new idea... actually i'm totally new in c programming.[QUOTE]Can you tell me what is the diffrence between:[QUOTE]
void main()
main()
int main(void)
1. Don't hijack other people's threads.
2. Read the FAQ.
Cprogramming.com FAQ > main() / void main() / int main() / int main(void) / int main(int argc, char *argv[])
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.