C code snippet :
1 |
|
Python code snippet :
1 |
|
Let the number of newlines printed by the first code snippet (C) be and that printed by the second code snippet (Python) be .
What's the value of ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
In C/C++
will print 1 newline, a= 1
In Python
will print 2 newlines, b= 2
a + b = 3