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 / ganesh bankar

There is a errsor at compile time because some statements
are not terminated by ";".

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Purpose of 'extern' keyword in a function declaration?

1077


What are the Advantages of using macro

1163


What is the maximum no. of arguments that can be given in a command line in C.?

1142


What is static memory allocation?

1169


What are the three constants used in c?

991


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1129


Do you know what are the properties of union in c?

1077


How many types of functions are there in c?

1134


What is the significance of an algorithm to C programming?

1042


What header files do I need in order to define the standard library functions I use?

1050


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1897


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1161


What are reserved words with a programming language?

1130


What is the difference between local variable and global variable in c?

1226


What does %c mean in c?

1079