Why main function is special give two reasons?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How do you initialize pointer variables?

0 Answers  


What are the different types of pointers?

4 Answers   HCL, TCS,


void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }

3 Answers   ME, pspl,


2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.

5 Answers   TCS,


write a program to generate address labels using structures?

0 Answers   SJC,






write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


What are the back slash character constants or escape sequence charactersavailable in c?

0 Answers  


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.

0 Answers  


What is a function in c?

0 Answers  


void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }

1 Answers  


What are the __date__ and __time__ preprocessor commands?

0 Answers  


What is assert and when would I use it?

0 Answers  


Categories