main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / chitaranjan barik
Main() is a predefined
function,because it's
prototype,call function,
returning val -all these
parameters only kown
to compile,not to
user.but we can use it
as user defined by
specifying our own
parameter
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are comments and how do you insert it in a C program?
What is the difference between Printf(..) and sprint(...) ?
What does the c in ctime mean?
What is uint8 in c?
write a program to display all prime numbers
What are header files in c programming?
Explain the difference between the local variable and global variable in c?
Are global variables static in c?
What are structural members?
What is extern keyword in c?
What is difference between static and global variable in c?
Write a simple code fragment that will check if a number is positive or negative.
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
How can I manipulate strings of multibyte characters?