How can I return multiple values from a function?

Answer Posted / phani kumar s

by using the function call by reference with the multiple
returns

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

1622


All technical questions

1505


What are the types of data files?

723


What is the purpose of sprintf?

615


What do you mean by dynamic memory allocation in c? What functions are used?

650






What is the deal on sprintf_s return value?

639


List the different types of c tokens?

620


Why is main function so important?

611


Why doesn't C support function overloading?

1608


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

2736


Explain how can I avoid the abort, retry, fail messages?

585


Why do we use int main?

602


Explain do array subscripts always start with zero?

753


How would you obtain the current time and difference between two times?

722


Explain how can a program be made to print the line number where an error occurs?

690