/*WAP to print out the memory locations*/
#include<stdio.h> #include<conio.h> main( ) { int num[ ] = { 24, 34, 12, 44, 56, 17 } ; int i ; for ( i = 0 ; i <= 5 ; i++ ) { printf ( "\nelement no. %d ", i ) ; printf ( "address = %u", &num[i] ) ; } }
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
No comments:
Post a Comment