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
How can I send mail from within a c program?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
how to construct a simulator keeping the logical boolean gates in c
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is volatile keyword in c?
Are there constructors in c?
Explain how are portions of a program disabled in demo versions?
Write a code to generate divisors of an integer?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Explain setjmp()?
What is the default value of local and global variables in c?
The file stdio.h, what does it contain?
What does 3 periods mean in texting?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above