if の代わりに && を使う。
if( hoge == page ) printf("hoge と page は同じ");
(hoge == page) && printf("hoge と page は同じ");