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 this C code?
Home
C Plus Plus
What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
What is the output of this C code?
#include <stdio.h>
int main()
{
int x = 1, y = 2;
if (x && y == 1)
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: What is the output of this C code?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#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
(
515
points)
#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
(
515
points)
#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
(
515
points)
#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
(
515
points)
#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
(
515
points)
#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
(
515
points)
#c-language
#c-programming
#c-compiler
+1
vote
Q: What is the output of the code given below
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#c-language
#c-programming
#c-compiler
+1
vote
Q: All keywords in C are in
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#c-programming
#c-language
#c-compiler
+1
vote
Q: Which of the following is true for variable names in C?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#c-language
#c-programming
#c-compiler
+1
vote
Q: The code snippet below produces
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#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
(
515
points)
#c-language
#c-programming
#c-compiler
+1
vote
Q: Which of the following is not a valid variable name declaration?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#c-language
#c-programming
#c-compiler
+1
vote
Q: Which of the following is a User-defined data type?
asked
Jun 13, 2019
in
C Plus Plus
by
Derya
(
515
points)
#c-language
#c-programming
#c-compiler
0
votes
Q: Explain Difference between C and C++.
asked
Nov 24, 2020
in
C Plus Plus
by
sharadyadav1986
(
31.7k
points)
#c-vs-cplusplus
#cplusplus-vs-c
#c-language
#c-plusplus
...