Toggle navigation
Courses
Questions
Tags
Users
What is the output (#4)?
3
like
0
dislike
176
views
#include <stdio.h>
int main()
{
int k;
float i = 11.8, j = 26.4;
k = (int)i + j;
printf("%d %d\n", k, (int)(i + (int)j));
return 0;
}
References: C From Theory
basic
essay
[Normal]
Essay (Open question)
-
asked
Jan 18, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21759 -
Available when:
Unlimited
-
Due to:
Unlimited
edited
Jan 18, 2017
by
The Contributor
|
176
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.71.222.194©2016-2023
Related questions
3
like
0
dislike
0
answers
What is the output(#36)?
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21933 -
Available when:
Unlimited
-
Due to:
Unlimited
|
166
views
essay
output
basic
pointer
3
like
0
dislike
0
answers
What is the output(#35)?
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21932 -
Available when:
Unlimited
-
Due to:
Unlimited
|
195
views
essay
output
basic
pointer
3
like
0
dislike
0
answers
What is the output(#33)?
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21928 -
Available when:
Unlimited
-
Due to:
Unlimited
|
171
views
essay
output
pointer
basic
3
like
0
dislike
0
answers
What is the output(#30)?
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21924 -
Available when:
Unlimited
-
Due to:
Unlimited
|
147
views
essay
basic
output
pointer
3
like
0
dislike
0
answers
What is the output(#29)?
[Normal]
Essay (Open question)
-
asked
Feb 12, 2017
in
Introduction to Computer Programming I (C)
by
The Contributor
(
20.9k
points)
ID: 21922 -
Available when:
Unlimited
-
Due to:
Unlimited
|
185
views
essay
basic
output
pointer
15,032
questions
243,142
answers
215,948
comments
5,696
users