what is the output of the following program?
#include<stdio.h>
void main()
{
int x=4,y=3,z;
z=x-- -y;
printf("\n%d %d %d",x,y,z);
}
Answer Posted / vignesh1988i
SORRY YHE OUTPUT WILL BE 3 3 1
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
What are the properties of union in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
How can I read/write structures from/to data files?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
what is the different bitween abap and abap-hr?
What are loops in c?
What do you mean by c what are the main characteristics of c language?
Write a C program in Fibonacci series.
Define the scope of static variables.
How can I remove the leading spaces from a string?
What is a null pointer in c?
Is this program statement valid? INT = 10.50;
Where are the auto variables stored?
What is function prototype in c with example?
Why do we need volatile in c?