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
Do array subscripts always start with zero?
What is the use of clrscr?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
Suggesting that there can be 62 seconds in a minute?
Describe newline escape sequence with a sample program?
What does typeof return in c?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is the importance of c in your views?
Can math operations be performed on a void pointer?
What are the differences between Structures and Arrays?
What is a lookup table in c?
Can we change the value of constant variable in c?
What is extern storage class in c?
Explain what happens if you free a pointer twice?