435 views

1 Answer

Related questions

0 votes
0 votes
1 answer
2
nish kim asked Sep 2, 2017
2,336 views
{a=1,b=2,c=3;*((a)?&b:&a) = a?b:c;printf("%d %d %d\n",a,b,c);}can someone explain with clarity ?a.1 2 3b.2 1 3c. 1 3 2
1 votes
1 votes
1 answer
3
radha gogia asked Jul 29, 2015
667 views
#include<stdio.h int main(){ int test=0; float a = 3424.34; printf("hello \n %d",(test? a: 3)); return 0; }It is giving output as hello 0 ,I am unable to understand the l...
0 votes
0 votes
2 answers
4
Sk Jamil Ahemad asked Feb 1, 2022
347 views
Please explain with some example that How Right to Left associativity takes place in case of Ternary operators?