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 / sudarshan
4 3 -1 this will be the output of this program
| Is This Answer Correct ? | 0 Yes | 17 No |
Post New Answer View All Answers
How to explain the final year project as a fresher please answer with sample project
How many levels of indirection in pointers can you have in a single declaration?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What are local static variables? How can you use them?
Define and explain about ! Operator?
What is the newline escape sequence?
What is the difference between exit() and _exit() function?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
What does s c mean in text?
What is auto keyword in c?
What are all different types of pointers in c?
Define macros.
explain what is fifo?
What are types of structure?
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(); }