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 / shashikanth
20 21 21 22
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a void * in c?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is variable in c example?
How important is structure in life?
What is getche() function?
Do variables need to be initialized?
difference between object file and executable file
Where is c used?
Is fortran faster than c?
What are different storage class specifiers in c?
What is oops c?
How do you determine whether to use a stream function or a low-level function?
What is hashing in c language?
Create a simple code fragment that will swap the values of two variables num1 and num2.
how should functions be apportioned among source files?