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
Can a pointer be static?
Why is struct padding needed?
Write a program to reverse a string.
What is a substring in c?
In which header file is the null macro defined?
What is an identifier?
Why c is a mother language?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
Write a program to know whether the input number is an armstrong number.
If the size of int data type is two bytes, what is the range of signed int data type?
Is c easy to learn?
Explain main function in c?
explain what is a newline escape sequence?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?