+ 1
What is the value of the C ?? C = b++(+a); if b = 5; and a =11;
I think it will be error .. some guys said the new virsions of compilers didn't accept this syntax .. but in the old virsions of compilers it work so i want to know if it is error in old version compilers or it will work ??!
16 Réponses
+ 2
C=b++ +(a) this is valid but
C=b++ (+a) // this is not valid it will give you errors check your question again may be you missing something
+ 3
Syntax Error!
+ 2
There would be error. Why you don't check in Solo-Learn Code Playground.
+ 2
Taha khaled
In older version will also not work because that is wrong syntax.
+ 2
I'm sorry man but when I have read it first time
I had get an error at my head
How
C= b++ (+a) could be work
+ 1
Please Help guys 🥺
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ because this syntax may work in old versions of compilers and sololern-compiler is new version .. so that i want to know if this syntax was used in the past or it was error
+ 1
Ash C or C++
+ 1
It will give you error
+ 1
Syntax error
+ 1
May I know which compiler ( and which version ) was it tested to give a false positive ?
+ 1
u mean b+++a, brackets will giv error.