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
What is indirection?
Can a pointer be static?
How can I call a function with an argument list built up at run time?
How is a null pointer different from a dangling pointer?
When we use void main and int main?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is static identifier?
What is difference between main and void main?
What is the use of typedef in structure in c?
write a progrmm in c language take user interface generate table using for loop?
What is sizeof array?
Explain what are the different data types in c?
Can I initialize unions?
What are multibyte characters?
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