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 / manju
d.any where in the program
because the execution of a program begins from the main
function.it doesn't consider the place where the main
function written.
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What are the ways to a null pointer can use in c programming language?
What is the maximum no. of arguments that can be given in a command line in C.?
What are the back slash character constants or escape sequence charactersavailable in c?
write a program fibonacci series and palindrome program in c
How can you increase the size of a statically allocated array?
Is main an identifier in c?
Difference between macros and inline functions? Can a function be forced as inline?
Explain what standard functions are available to manipulate strings?
Is c easy to learn?
What is the use of f in c?
Ow can I insert or delete a line (or record) in the middle of a file?
What are inbuilt functions in c?
Can you write the algorithm for Queue?
What is the difference between a string and an array?