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 'lex' does?

936


What is #include stdio h?

910


Who is the main contributor in designing the c language after dennis ritchie?

785


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

891


Do variables need to be initialized?

818


How are portions of a program disabled in demo versions?

1022


what is the function of pragma directive in c?

888


What is the use of #define preprocessor in c?

841


What is the size of enum in c?

854


What is dangling pointer in c?

823


What is static and volatile in c?

997


What is 2c dna?

839


What is c definition?

966


How to Throw some light on the splay trees?

815


Is swift based on c?

868