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 |
program for reversing a selected line word by word when multiple lines are given without using strrev
write a program for egyptian fractions in c?
What is echo in c programming?
What are reserved words with a programming language?
How can I send mail from within a c program?
how to devloped c lenguege?
What is a memory leak? How to avoid it?
Example of friendly function in c++
When is a “switch” statement preferable over an “if” statement?
Write a C program to fill a rectangle using window scrolling
write a progrmm in c language take user interface generate table using for loop?
What is pass by reference in functions?