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 the output of the following program?
main()
{
int c[]={2,8,3,4,4,6,7,5};
int j,*p=c,*q=c;
for(j=0;j<5;j++)
{
printf("%d",*c);
++q;
}
for(j=0;j<5;j++)
{
printf("%d",*p);
++p;
}
}

Answer Posted / praveen

2222228344

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indirection?

1022


Can a pointer be static?

1017


How can I call a function with an argument list built up at run time?

1172


How is a null pointer different from a dangling pointer?

973


When we use void main and int main?

1017


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2020


What is static identifier?

1163


What is difference between main and void main?

1113


What is the use of typedef in structure in c?

916


write a progrmm in c language take user interface generate table using for loop?

1994


What is sizeof array?

999


Explain what are the different data types in c?

1157


Can I initialize unions?

984


What are multibyte characters?

1058


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

1070