void main()
{
int a[]={1,2,3,4,5},i;
for(i=0;i<5;i++)
printf("%d",a++);
getch();
}
Answer Posted / jaya.vavilala
output is error.because we cannot inrease address of
array.if we increase address can be increased after go on
increasing after 5th position it cannot find where it is
present.so we cannot increase array directly through
pointer we can increase.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What are header files and what are its uses in C programming?
What is #include stdlib h?
Explain what is wrong with this statement? Myname = ?robin?;
What is gets() function?
What are pointers really good for, anyway?
Why c is a procedural language?
What is string constants?
Do pointers take up memory?
Why c is called top down?
Explain is it valid to address one element beyond the end of an array?
What is the use of the function in c?
What is an auto variable in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Is a house a mass structure?
What is pointer in c?