with out using main how to execute the program?

Answer Posted / pradeep

It is not a c program if it is not using main function.
Compiler starts execution from main function always.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between char array and char pointer?

735


Why is void main used?

810


why return type of main is not necessary in linux

1866


How is = symbol different from == symbol in c programming?

794


Explain how can I read and write comma-delimited text?

916


What is the translation phases used in c language?

821


What type is sizeof?

787


What is size of union in c?

750


What is the collection of communication lines and routers called?

830


What is the use of bit field?

866


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2946


What are the advantages and disadvantages of pointers?

805


What is d scanf?

778


Explain what are the __date__ and __time__ preprocessor commands?

845


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

844