![]() |
regarding const pointer
Code:
int i=10; |
Re: regarding const pointer
Can you post a complete program, including
- the main(), - the include files, - how you compiled it, - and what you saw on the output (copy/paste from your console). For instance, C and C++ handle 'const' differently. |
Re: regarding const pointer
Code:
#include<stdio.h>Code:
Main cpi 123 |
Re: regarding const pointer
Why would attempting the assignment AFTER the value has been printed have any effect whatsoever?
Does exit(); really compile for you? |
Re: regarding const pointer
its a book example ,thats why i asked why it is required to do so ,even i couldnt get that
|
| All times are GMT +5.5. The time now is 21:30. |