/*WAP to Using pointer to access array elements */
#include<stdio.h> #include<conio.h> main( ) { char name[ ] = "Goldfish" ; char *ptr ; ptr = name ; /* store base address of string */ while ( *ptr != `\0' ) { printf ( "%c", *ptr ) ; ptr++ ; } }
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
No comments:
Post a Comment