-
What will be the final value of L in the following C code?
#include <stdio.h>
int main()
{
int k = 0, L = 0;
if (k && (L = k + 12))
//do something
;
}
-
- Nothing
- 0
- Depends on language standard
- Depends on the compiler
- None of these
Correct Option: B
it will not show any output because we are not using printf for print any value as output. but the value of L will be 0.