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
What are the two forms of #include directive?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What does the c preprocessor do?
What is the significance of c program algorithms?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
How do I get a null pointer in my programs?
What does nil mean in c?
What is clrscr ()?
What is the purpose of void in c?
Explain how can I avoid the abort, retry, fail messages?
Write a program to reverse a string.
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
what is event driven software and what is procedural driven software?
application attempts to perform an operation?