main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / vilas soni++
main() is predefined function, coz we can't change it's
prototype....
We can only implement it.... And we have to use main() in
our program coz it's "Entry Point" to any C program....
(We can say userdefined, if we can also define it's
prototype and name, and in this case we can't!, we can use
only available types of main()....)
| Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
How do I use strcmp?
What is the difference between void main and main in c?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
What is the difference between constant pointer and constant variable?
largest Of three Number using without if condition?
What is the difference between fread buffer() and fwrite buffer()?
Why do we use int main instead of void main in c?
Is linux written in c?
What is self-referential structure in c programming?
What is #include cctype?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What does a pointer variable always consist of?
Differentiate between null and void pointers.
What is the difference between typedef struct and struct?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)