What is the output of the below code?
int main() { int _ = 50; int __ = 100; int ___ = 0; ___=_+__; printf("%d",___); return 0; }
---------------------------------------------
Variables are named as single underscore, _ , double underscore, __ , triple underscore, ___
Variable naming looks silly, but it is as per the variable naming convention in C language. C language allows variable names to start with _
So, the output shall be 150 as ___ stores the sum of __ and _
The below forum has the other C challenge questions:
0 Comments