ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

I have a char * pointer that happens to point to some ints, and I want to step it over them. Why doesn't ((int *)p)++; work?

this is c question both c and c++ may be?

user-image
تم إضافة السؤال من قبل siva raju
تاريخ النشر: 2016/02/28
Abdulmalik Mohammed
من قبل Abdulmalik Mohammed , Oracle Developer , Al-Sudais Logistic Company

becouse you decleare - int - and the data you have is char !

the solution of this is decleare a char type .

 

thanks

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟