why main() method should not return any value
Answer Posted / nadeem khokhar
execution starts from the main function. no function can call it, which means no function can save the returned value from main. then why should we take its return type as we can not use that any where! i do agree to jhill123 that in C we write int main instead of void main, it is used for exception handling.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
I have try to write a record in a TDQ from a fle.... what are the steps to do... can anybody plz come with a solution
how to remove header and footer in jcl using sort utility
Difference between views and index in sas programming
what is the current salary package in India for a lamp programmer
Difference between debugging, running, executing of an application
could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?
Iam using Microsoft Visual Studio to create a system for mobile store I want to know how to calculate mobile price that the customer buy and how to reduce quantity from the data base that we have for mobile .And also how to calculate revnue for each mobile and revnue for the total mobile
Outline the two important features of a terminating recursion. Any ideas?
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
I am work in it aompenei
Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.
Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.
What are the tasks performed by a Team Lead
8.In DSP,Define Signal and System?and various type of signals.
For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?