main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}
Answer Posted / nithya
output:
undefined symbol 'intx'
undefined symbol 'y'
undefined symbol 'z'
syntax error 'printf(%d",x)'
the above code will be change
main()
{
int x=2,y=6,z=6;
x=y=z;
printf("%d",x);
}
output:
warning error:y assign value not used
6
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Can we access the array using a pointer in c language?
What is declaration and definition in c?
What is the difference between typedef and #define?
What does malloc () calloc () realloc () free () do?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What are the ways to a null pointer can use in c programming language?
Write a program to reverse a given number in c?
What is a floating point in c?
what are # pragma staments?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Explain how can I open a file so that other programs can update it at the same time?
What are header files in c?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Explain a file operation in C with an example.