/ ****************************************************************** * * Purpose: Program to demonstrate const * Date: 03-Dec-96 * Author: M J Leslie. * Descrip: To be written. * ******************************************************************/ #include <stdio.h> main() { const int Men=10; Men = 20; /* This will be failed by the compiler. */ }
file: /Techref/language/ccpp/cref/EXAMPLES/const.c, 0KB, , updated: 1997/4/21 08:52, local time: 2024/11/20 06:37,
3.147.89.16:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/ccpp/cref/EXAMPLES/const.c"> language ccpp cref EXAMPLES const</A> |
Did you find what you needed? |