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
Can we initialize extern variable in c?
What is character constants?
What is the difference between c &c++?
What is variable and explain rules to declare variable in c?
What does %c do in c?
Explain why c is faster than c++?
Explain what does a function declared as pascal do differently?
what is different between auto and local static? why should we use local static?
What is the most efficient way to store flag values?
how do you execute a c program in unix.
What does the characters “r” and “w” mean when writing programs that will make use of files?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is the size of array float a(10)?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
How do you list a file’s date and time?