Tuesday 24 July 2012

c program const use with source code

/* Use of const with output */

#include

void main()

{


int const * p=5;

printf("%d",++(*p));

}



Explanation:

p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: