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
the output will be 3 3 0
thank u
Is This Answer Correct ? | 5 Yes | 18 No |
Post New Answer View All Answers
What is the purpose of sprintf?
What are near, far and huge pointers?
What was noalias and what ever happened to it?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What are predefined functions in c?
What are different types of variables in c?
How can I run c program?
What are the applications of c language?
What are the parts of c program?
Explain high-order bytes.
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Explain two-dimensional array.
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Explain how do you search data in a data file using random access method?
What is the difference between declaring a variable and defining a variable?