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 |
What is the stack in c?
What is the heap?
What is difference between && and & in c?
What is function prototype?
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
How many types of operators are there in c?
what is the function of void main()?
How can you increase the size of a statically allocated array?
What is the difference between array and structure in c?
What does *p++ do?
What does do in c?
what do you mean by inline function in C?