December 2019
— I am completely new to programming... which one should I start with and where do I start?
#include<stdio.h>#define PRODUCT(x)(x*x)int main(){int i=3,j,k,l;j=PRODUCT(i+1);k=PRODUCT(i++);l=PRODUCT(++i);printf("%d %d %d %d\n",i,j,k,l);return 0;}
— Tell the output
— /warn No. Think it by yourself.
— User Akram has 1/2 warnings; be careful!The latest warn was because:No. Think it by yourself.
— Anyone know communicating with modbus slave using c++
— Bro i tried but i want to know the explanation of the output i am not understanding it🙏
— 7 7 12 49 how??
— Anyone plz
— Use debugger and watch it step by step.
— J = PRODUCT(i + 1); - here expression is (i + 1 * i + 1) what is 3 + 1 * 3 + 1 = 7.
— The next think by yourself.