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 / poorna
Ans:3 3 1
bcoz
z=4-- -3; z=4-3;
z=1;
and x=3
there fore answer is 3 3 1
Is This Answer Correct ? | 42 Yes | 5 No |
Post New Answer View All Answers
Why main function is special give two reasons?
Explain high-order and low-order bytes.
show how link list can be used to repersent the following polynomial i) 5x+2
How can I call fortran?
What is the difference between array and pointer?
What are nested functions in c?
Why is not a pointer null after calling free?
How do you determine a file’s attributes?
Differentiate fundamental data types and derived data types in C.
What is include directive in c?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What is nested structure?
Where are the auto variables stored?
What is p in text message?