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
What does stand for?
What does main () mean in c?
Explain how can a program be made to print the line number where an error occurs?
What is the heap in c?
Write a program to check prime number in c programming?
What is calloc in c?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What does the c preprocessor do?
how to build a exercise findig min number of e heap with list imlemented?
explain what is fifo?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Write a program with dynamically allocation of variable.
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
How can I write functions that take a variable number of arguments?
What are dangling pointers in c?