Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

main() {
int x=2, y=4
if ((x==2||y==4)
x++
y++
if (y==4+1)
{
x=x+y;
}
y++;
printf("The values of x and y are %d and %d."x,y);
}
What is the output?


Answer Posted / rajesh

Error will be occur because the variable declaration
does`t intilized terminate symbol(;), and again same
mistake in line 5 and line 6.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time complexity c?

1041


Tell me when would you use a pointer to a function?

1123


What are the advantages of union?

1120


Tell me when is a void pointer used?

1239


What does c mean in basketball?

1048


What is the description for syntax errors?

1216


i want to know the procedure of qualcomm for getting a job through offcampus

2519


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1294


Difference between MAC vs. IP Addressing

1199


How can I get back to the interactive keyboard if stdin is redirected?

1237


What are different storage class specifiers in c?

1138


What are the types of c language?

1080


What are the header files used in c language?

1098


I heard that you have to include stdio.h before calling printf. Why?

1115


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2532