#include < QCoreApplication >
#include< stdio.h >
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
int b[]={1,2,3,4,5,6,7,8};
int *bPtr=b; /* bPtr b dizisini gööstersin */
int i,offset;
printf("\nDizileri Normal Yazdirma Yontemi \n");
for(i=0;i<8;i++)
{
printf("%d \t",b[i]);
}
printf("\n\n\nDizleri Gosterici ile Yazdirma Yontemi \n");
for(offset=0;offset<8;offset++)
{
printf("%d \t",*(bPtr+offset));
}
return a.exec();
}