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
Differentiate between new and malloc(), delete and free() ?
Explain spaghetti programming?
How are variables declared in c?
What are the 5 organizational structures?
What is the use of ?
Should I learn data structures in c or python?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Write a program to print factorial of given number using recursion?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What do you mean by c?
What happens if header file is included twice?
What is difference between function overloading and operator overloading?
Which are low level languages?
what is the format specifier for printing a pointer value?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.