Toggle navigation
Courses
Questions
Tags
Users
What is the output (#6)?
3
like
0
dislike
156
views
#include <stdio.h>
int main()
{
int a = 3, b = 5, c;
a=(a>3)+(b<=5);
b=(a==3)+((b-2)>=3);
c=(b!=6);
printf(“%d %d %d\n”,a,b,c);
return 0;
}
References: C From Theory
basic
essay
input
output
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21800 -
Available when:
Unlimited
-
Due to:
Unlimited
|
156
views
comment
Please
log in
or
register
to add a comment.
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.69.58.82©2016-2024
Related questions
3
like
0
dislike
0
answers
What is the output (#12)?
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21806 -
Available when:
Unlimited
-
Due to:
Unlimited
|
197
views
basic
essay
output
input
3
like
0
dislike
0
answers
What is the output (#11)?
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21805 -
Available when:
Unlimited
-
Due to:
Unlimited
|
200
views
basic
essay
input
output
3
like
0
dislike
0
answers
What is the output (#10)?
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21804 -
Available when:
Unlimited
-
Due to:
Unlimited
|
180
views
basic
essay
output
input
3
like
0
dislike
0
answers
What is the output (#9)?
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21803 -
Available when:
Unlimited
-
Due to:
Unlimited
|
189
views
basic
essay
input
output
3
like
0
dislike
0
answers
What is the output (#8)?
[Normal]
Essay (Open question)
-
asked
Jan 25, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21802 -
Available when:
Unlimited
-
Due to:
Unlimited
|
170
views
basic
essay
input
output
12,783
questions
183,443
answers
172,219
comments
4,824
users