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 / prats
its stack operation . .
top will get printed first . .
answer will b 22 21 21 20
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how could explain about job profile
Are local variables initialized to zero by default in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
number of times a digit is present in a number
Sir i need notes for structure,functions,pointers in c language can you help me please
Why static variable is used in c?
What is the difference between functions abs() and fabs()?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What is getch () for?
What are the difference between a free-standing and a hosted environment?
What is scope rule in c?
Explain null pointer.
I need previous papers of CSC.......plz help out by posting them.......
what is bit rate & baud rate? plz give wave forms
What are the keywords in c?