0 like 0 dislike

1. What is the output of the following code?

#include <stdio.h>
int main(int argc, char *argv[]){
int a=3;
a++;
printf("%d",a/2);
return 0;
}

 

[Exam] asked in Mid-term examination by (5.9k points)
Available when: Unlimited - Due to: 2017-11-15 16:10
| 3 views

21 Answers

0 like 0 dislike
Hidden content!
*
1/100 answered
0 like 0 dislike
Hidden content!
1
1/100 answered
0 like 0 dislike
Hidden content!
* * * 2
100/100 answered by (220 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (244 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (153 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (221 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (183 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (283 points)
0 like 0 dislike
Hidden content!
*
1/100 answered by (449 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (268 points)
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:108.162.221.93
©2016-2019

Related questions

0 like 0 dislike
20 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2017-11-15 16:10
| 3 views
0 like 0 dislike
21 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: Unlimited
| 4 views
0 like 0 dislike
20 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
Available when: Unlimited - Due to: 2017-11-15 16:10
| 3 views
8,045 questions
60,931 answers
33,050 comments
1,171 users