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
Why is c used in embedded systems?
What is c mainly used for?
How to declare pointer variables?
Explain continue keyword in c
What does *p++ do? What does it point to?
Why is python slower than c?
Write the control statements in C language
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Can include files be nested?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is volatile keyword in c?
Can you please compare array with pointer?
how could explain about job profile