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 / pratik.nikam3112
answer is
22 21 21 20
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What is difference between main and void main?
What are integer variable, floating-point variable and character variable?
How can I find the modification date of a file?
What is the process of writing the null pointer?
can we implement multi-threads in c.
Is there a built-in function in C that can be used for sorting data?
What is the explanation for modular programming?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What is the difference between new and malloc functions?
Explain modulus operator. What are the restrictions of a modulus operator?
Explain what is a 'locale'?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0