Sponsored Links

Interview Questions
Recommended Books












INTERVIEW QUESTIONS C FUNCTIONS IN C DETAILS
Question :

What is an argument ? differentiate between formal arguments and actual arguments?

Category Functions in C Interview Questions
Rating (3.3) By 23 users
Added on 10/22/2009
Views 5117
Rate it!

Highly Recommended, Hand Picked Functions in C Books



Question :

What is an argument ? differentiate between formal arguments and actual arguments?


Answer:

Source: CoolInterview.com

An argument is an entity used to pass the data from calling function to the called function. Formal arguments are the arguments available in the function definition.They are preceded by their own data types.Actual arguments are available in the function call.
Source: CoolInterview.com



Source: CoolInterview.com

arguments are called as parameters .they are
passed from main function to sub function.

formal arguments are located in sub function.
actual arguments are located in function
the values of actual arguments
are copied to formal arguments.
Source: CoolInterview.com



Posted by: raja

Contact raja Contact raja

Source: CoolInterview.com

The arguments listed in function definition are known as formal arguments. And the arguments passed to function while invoking it, are known as actual arguments.

For e.g:
-----------
int foo(int a, int b)
{
return (a+b);
}

int main(void)
{
int var1 = 10, var2 = 10;
int result;
result = foo(var1, var2);
return 0;
}

in the above case, var1 & var2 are actual arguments and "a" and "b" are formal arguments.
Source: CoolInterview.com



Posted by: Ravi A Joshi

Contact Ravi A Joshi Contact Ravi A Joshi

Source: CoolInterview.com

Argument is a parameter which is used to pass into function during function call

Actual argument is a parameter which is available in calling function

Formal argument is a parameter which is available in called function/function definition

Both actual and formal argument must be same which is declared before main

VENKATGOPU
Source: CoolInterview.com



Posted by: VENKATGOPU

Contact VENKATGOPU Contact VENKATGOPU

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
What is the purpose of main( ) function?
View Answer
What are the advantages of the functions?
View Answer
What is a method?
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View ALL Functions in C Interview Questions & Answers



User Options
India News Network

Latest 20 Questions
State the Duties, Powers and Functions of Insurance Regulatory Development and Authority?
Proprietor (owner) is treated as creditor of business due to: a) Periodicity concept b) Materiality Principle c) Entity Concept d) Consistency concept
Unpaid expenses are: a) Outstanding Liabilities b) Prepaid expenses c) Unaccrued expenses d) All of these
Estimated selling price less estimated cost of sales is: a) Net Realizable Value b) Cost of purchase c) Cost of goods sold d) None
Cash of Rs. 2,000 is withdrawn for personal expenses. This will be debited to which account: a) Drawings A/C b) Creditors A/C c) Capital A/C d) Cash A/C
State the objectives of Insurance Regulatory and Development Authority?
Fixed assets and current assets are categorized as per concept of: a) Separate entity b) Going concern c) Consistency d) Time period
The obligations of an enterprise other than owner's fund are known as: a) Assets b) Liabilities c) Capital d) None of these
Which of these is not a fundamental accounting assumption? a) Going Concern b) Consistency c) Conservatism d) Accrual
Accounting does not record non- financial transactions because of: a) Accrual concept b) Cost Concept c) Continuity Concept d) Money Measurement Concept
What is the meaning of Insurance Regulatory and Development Authority(IRDA)?
Omission of paise and showing the round figures in financial statements is based on: a) Conservatism Concept b) Consistency Concept c) Materiality Concept d) Realization Concept
State the SEBI Guidelines on Book building?
During the life time of an entity accountants prepare financial statements at arbitrary points of time as per: a) Prudence b) Consistency c) Periodicity d) Matching
Which financial statement represents the accounting equation ASSETS= LIABILITIES+ OWNER'S EQUITY a) Income Statement b) Cash Flow Statement c) Balance Sheet d) Funds Flow Statement
Window dressing of Accounts means: a) Presenting accounts in beautiful manner b) Showing more losses to avoid income tax c) Showing more profits to attract investments d) All of the above
Define Book Building?
State the SEBI guidelines for debentures issued for public subscription?
State the SEBI Guidelines for Right Issue?
State the SEBI Guidelines for Bonus Issue?



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions



Cache = 0 Seconds