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
Explain what are reserved words?
Explain two-dimensional array.
how we can make 3d venturing graphics on outer interface
How can I get the current date or time of day in a c program?
What is meant by operator precedence?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What are the modifiers available in c programming language?
How main function is called in c?
Is c easy to learn?
What is the use of header?
How old is c programming language?
What is the argument of a function in c?
What is operator promotion?
What is merge sort in c?
Why we use int main and void main?