identify the in correct expression
a.a=b=3=4;
b.a=b=c=d=0;
float a=int b=3.5;
d.int a;
float b;
a=b=3.5;
Answers were Sorted based on User's Feedback
Answer / valli
a is error because
a=b=3=4;
in this 3=4;
is wrong
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / guest
a u cannot have a constant at the left side of assignment
operator
Is This Answer Correct ? | 9 Yes | 0 No |
identify the in correct expression
a.a=b=3=4;
b.a=b=c=d=0;
float a=int b=3.5;
d.int a;
float b;
a=b=3.5;
in first st 4 is not assigned in the 3 so lvalue required.
second is correct.
third is incorrect
third is alsoincorrect
manish soni cgc chandigarh...
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / satya
identify the in correct expression
statement1: a.a=b=3=4;
statement2: b.a=b=c=d=0;
statement3: float a=int b=3.5;
statement4: d.int a;
statement5: float b;
statement6: a=b=3.5;
Here statement1, statement3, statement4 are incorrect statements and rest statements are correct.
Satya/Odisha/Balasore.
Is This Answer Correct ? | 1 Yes | 0 No |
How the processor registers can be used in C ?
what is the difference between i++ and ++i?
What is the difference between exit() and _exit() function in c?
i want to know the procedure of qualcomm for getting a job through offcampus
What is FIFO?
What are the types of data types and explain?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
how to get the starting address of file stored in harddisk through 'C'program.
Explain what are header files and explain what are its uses in c programming?
Explain how do you search data in a data file using random access method?
What does it mean when the linker says that _end is undefined?
What is string length in c?