Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.

Answer Posted / shruti

Need not return any value.

its acceptable if a function does not return any value
provided its return type is "void"..

if its return type is char , int , float.. then it has to
return that respective type of value

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1101


Explain zero based addressing.

972


Explain why can’t constant values be used to define an array’s initial size?

1316


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

2241


Can you please explain the scope of static variables?

1004


What is array of structure in c?

1107


why wipro wase

2262


How are structure passing and returning implemented?

1000


in linking some of os executables are linking name some of them

2085


Explain what are the different data types in c?

1171


Why do we write return 0 in c?

1008


Do you know the use of 'auto' keyword?

1138


How to Throw some light on the splay trees?

1016


how can I convert a string to a number?

1037


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1469