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
What are the similarities between c and c++?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
difference between Low, Middle, High Level languages in c ?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
How do you define a function?
What are the types of pointers?
Which is more efficient, a switch statement or an if else chain?
Why clrscr is used in c?
How can I handle floating-point exceptions gracefully?
What does do in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is difference between constant pointer and constant variable?
Explain union.
int i=10; printf("%d %d %d", i, i=20, i);