Can u return two values using return keyword? If yes, how?
If no, why?

Answer Posted / abhijit roy

in c a function can only written one value
the return value could be of any data type

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I came across some code that puts a (void) cast before each call to printf. Why?

938


What is s or c?

785


What is integer constants?

787


What does a function declared as pascal do differently?

795


What is the usage of the pointer in c?

812


How to declare pointer variables?

892


What are formal parameters?

847


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

967


Explain 'far' and 'near' pointers in c.

884


Which header file is essential for using strcmp function?

1167


Why is it usually a bad idea to use gets()? Suggest a workaround.

1340


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

826


how to write optimum code to divide a 50 digit number with a 25 digit number??

2967


Explain the meaning of keyword 'extern' in a function declaration.

912


What are the types of data structures in c?

809