- 1

Find the value of a and b of this program.? And explaned it??

int a,b; a=10; b=25; a=b++ + a++; b=++b + ++a; printf("\n %d %d \ n",a,b); return 0;

6th Jul 2018, 12:10 PM
Narayan Dutt Pandey
4 Answers
0
int a,b; a=10; b=25; a=b++ + a++; // a = 25 + 10 b=++b + ++a; //b= 27 + 36 printf("\n %d %d \n",a,b);// a=36 and b=63 return 0;
6th Jul 2018, 4:26 PM
Nitin Khambhala
Nitin Khambhala - avatar
0
If a=10 and b=++a then find the value of a, b
5th Aug 2019, 1:59 PM
Rahul Sonwal
Rahul Sonwal - avatar
0
Plz explain dz tpoic sir
18th Mar 2020, 2:26 PM
SWATHI M M
SWATHI M M - avatar
- 1
nitin khambhala sir. a ka value me aapne 25 + 10 = 36 kaise bataya..plz explain this topics sir..
9th Jul 2018, 8:04 PM
Narayan Dutt Pandey