Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output of the code given below
Home
C Plus Plus
What is the output of the code given below
+1
vote
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
What is the output of the code given below
#include <stdio.h>
int main()
{
int x = 0, y = 2;
if (!x && y)
printf("true\n");
else
printf("false\n");
}
a. undefined behaviour
b. compile time error
c. FALSE
d. TRUE
#c-language
#c-programming
#c-compiler
Please
log in
or
register
to answer this question.
0
Answers
Related questions
+1
vote
Q: The code snippet below produces
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-compiler
#c-language
#c-programming
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
+1
vote
Q: The format identifier ‘%i’ is also used for _____ data type?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
#c-language
#c-programming
#c-compiler
...