WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW
IT COME ..
#include<stdio.h>
#include<conio.h>
void main()
{
int k=20;
printf("%d%d%d%d",k,k++,++k,k);
getch();
}
Answer Posted / balasankararao
my answer is
22 21 21 20
if it is wrong why?
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain how can I open a file so that other programs can update it at the same time?
How can I discover how many arguments a function was actually called with?
how do you execute a c program in unix.
What does %c mean in c?
What is a lvalue
What is sizeof array?
What is time null in c?
What library is sizeof in c?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
Here is a good puzzle: how do you write a program which produces its own source code as output?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Sir i need notes for structure,functions,pointers in c language can you help me please
Is c weakly typed?
Difference between macros and inline functions? Can a function be forced as inline?
What is queue in c?