PRF192_-_PT02_-_SP_2024_1513.webp
maik205

PRF192_-_PT02_-_SP_2024_1513.webp

  • Media owner maik205
  • Ngày thêm
Question 15
Answer saved
Marked out of 1.00
Comment on the output of this C code?
1 #include<stdio.h>
2 #include<string.h>
3 #include<conio.h>
4 int main()
5{
6
7
8
int const k=5;
k++;
printf("k is %d",k);
9
return 0;
10 }
a. Error, because a constant variable cannot be changed
b. k is 6
Oc. Error, because a constant variable can be changed only twice
Od. Error due to const succeeding int
Clear my choice

Thông tin

Category
PRF192
Thêm bởi
maik205
Ngày thêm
Lượt xem
469
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom