0 like 0 dislike
1.2k views

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)
ID: 31977 - Available when: Unlimited - Due to: 2017-11-15 16:10
| 1.2k views

21 Answers

0 like 0 dislike
Hidden content!
2
100/100 answered by (243 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (269 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (246 points)
0 like 0 dislike
Hidden content!
* *** ** * ** * *
1/100 answered
reshown by
0 like 0 dislike
Hidden content!
2
100/100 answered by (281 points)
0 like 0 dislike
Hidden content!
** *
100/100 answered by (252 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (273 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (271 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (290 points)
0 like 0 dislike
Hidden content!
2
100/100 answered by (269 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.69.58.119
©2016-2024

Related questions

0 like 0 dislike
20 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
ID: 31978 - Available when: Unlimited - Due to: 2017-11-15 16:10
| 1k views
0 like 0 dislike
21 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
ID: 31979 - Available when: Unlimited - Due to: Unlimited
| 988 views
0 like 0 dislike
20 answers
[Exam] asked Nov 14, 2017 in Mid-term examination by nat236919 (5.9k points)
ID: 31981 - Available when: Unlimited - Due to: 2017-11-15 16:10
| 965 views
12,783 questions
183,443 answers
172,219 comments
4,824 users