whitch value return void main?
Answers were Sorted based on User's Feedback
Answer / kalyan
Void Doesn't Return any value instead u using int u need to
written any valu but void does n't return any value
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / aruna.r
void main() doesn't return any value.but we have to use
return type int means return any value
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pradeep
void main might return a value.
you should not assign to other variable.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / trushali
when we write void main it means its not returning any value
to main function,so we do not need write return 0 at the end
of program.
but when we write main only then by default compiler
consider it as int main,and at the end we need to write
return 0(means successful completion of the program without
any problem).
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prabu
yes there is no return a value for void main function
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
What is meant by realloc()?
What are Storage Classes in C ?
32 Answers CTS, HP, IBM, Maharaja Whiteline, Tamil Nadu Open University TNOU, TATA, TCS, Wipro,
Explain what is #line used for?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is a const pointer in c?
What is function and its example?
How can I copy just a portion of a string?
Explain what is the difference between far and near ?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Concat two string with most overlapped substring has to remove "abcd"+ "cdef" = "abcdef