الثلاثاء، 4 يونيو 2013

Lesson 11: Typecasting in C and C++

Lesson 11: Typecasting in C and C++

Lesson 11: Typecasting in C and C++

Typecasting is making a variable of one type, such as an int, act like another type, a char, for one single operation. To typecast something, simply put the type of variable you want the actual variable to act as inside parentheses in front of the actual variable. (char)a will make 'a' function as a char.



WWW.MEDIU.EDY.MY
WWW.VB.MEDIU.EDU.MY


منقول

الملفات المرفقة الملفات المرفقة
مع تحيات جامعة المدينة العالمية

0 التعليقات:

إرسال تعليق