Difference between revisions of "Operator"
Jump to navigation
Jump to search
(Created page with "=== วิธีเรียกใช้แบบแปลกๆ === อันนี้เป็นตัวอย่างของโปรแกรม นำค่า a+b...") |
(No difference)
|
Latest revision as of 00:18, 8 March 2019
วิธีเรียกใช้แบบแปลกๆ
อันนี้เป็นตัวอย่างของโปรแกรม นำค่า a+b ไปใส่ในตัวแปร c
#include<stdio.h> int main() { int a,b,c; a=4; b=2; c = a.operator+(b); printf("%d",c); scanf(" "); return 0; }