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 / ashish
20212120 is the write answer because there is no space between
specified data type %d
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain what is the use of a semicolon (;) at the end of every program statement?
What is a #include preprocessor?
What is a program flowchart and how does it help in writing a program?
Explain how can I right-justify a string?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the use of ?: Operator?
can anyone please tell about the nested interrupts?
What is this infamous null pointer, anyway?
How do you declare a variable that will hold string values?
What is a memory leak? How to avoid it?
What is data structure in c and its types?
Why do we need a structure?
What is the difference between text and binary modes?
What is sizeof int?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.