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

in iso what are the common technological language?

1637


When should a type cast be used?

575


What is clrscr in c?

679


Explain what header files do I need in order to define the standard library functions I use?

649


What is c token?

611






Explain how do you convert strings to numbers in c?

593


What is bubble sort in c?

639


What is the concatenation operator?

614


What is the value of c?

574


What are predefined functions in c?

568


Can you please compare array with pointer?

617


How can I find out how much free space is available on disk?

629


Why does this code crash?

621


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

613


the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

762