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 / ramesh
Here i like to say one think,dont allow different answer,if
its correct you may do this.so many of them taking to
verify or knowing the answer.so allow only the answer which
are correct.dont allow any wrong any answers for all the
questions.because it is very using in right time should not
make confuse others.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Subtract Two Number Without Using Subtraction Operator
hi send me sample aptitude papers of cts?
What is a constant?
Which are low level languages?
What is the difference between near, far and huge pointers?
What is the difference between Printf(..) and sprint(...) ?
What is %d called in c?
Are the expressions * ptr ++ and ++ * ptr same?
In a header file whether functions are declared or defined?
What is sizeof in c?
what are bit fields? What is the use of bit fields in a structure declaration?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is a pointer variable in c language?
What is function in c with example?
How can I call fortran?