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
Differentiate between #include<...> and #include '...'
How do we declare variables in c?
pierrot's divisor program using c or c++ code
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Is malloc memset faster than calloc?
How pointer is different from array?
What are lookup tables in c?
What is the difference between variable declaration and variable definition in c?
How many parameters should a function have?
Write a program to print fibonacci series using recursion?
What is the use of function in c?
Tell me is null always defined as 0(zero)?
What are the types of unary operators?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is Dynamic memory allocation in C? Name the dynamic allocation functions.