Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
Answer Posted / uma
ya its absolutely any where in the program
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the heap in c?
What is the ANSI C Standard?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is scope rule of function in c?
How is null defined in c?
If fflush wont work, what can I use to flush input?
What is the difference between malloc() and calloc()?
In a byte, what is the maximum decimal number that you can accommodate?
What should malloc(0) do?
Write a program for finding factorial of a number.
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is the use of a semicolon (;) at the end of every program statement?
What are variables and it what way is it different from constants?