main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}
Answer Posted / krs
"intx=2" must be "int x=2".This is First error.
secondly there is a syntax error in printf();
So there is compile time error due to this code execution.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Why is c still so popular?
I need testPalindrome and removeSpace
#include
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How many identifiers are there in c?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Explain what is the difference between functions getch() and getche()?
What are the uses of a pointer?
What is static memory allocation? Explain
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What are the 5 elements of structure?
what is bit rate & baud rate? plz give wave forms
Is flag a keyword in c?
How can you check to see whether a symbol is defined?