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...

how to return 1000 variables from functio9n in c?plz give me
code also

Answer Posted / ramachandran

#include<stdio.h>
int fun(int *a)
{
return ++(*a);
}

int main()
{
int a=0,i,d;
for(i=0;i<100;i++)
{
d=fun(&a);
printf("\n%d",d);
}
getch();
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is d scanf?

1071


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1705


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1498


develop algorithms to add polynomials (i) in one variable

2148


How can I access an I o board directly?

1080


What are linker error?

1080


How arrays can be passed to a user defined function

1007


what are # pragma staments?

2032


What is file in c language?

992


Explain enumerated types in c language?

1030


Why doesnt long int work?

1024


How can I manipulate individual bits?

1025


What is static memory allocation? Explain

1083


What is c variable?

1030


Difference between constant pointer and pointer to a constant.

1120