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 |
Here is a good puzzle: how do you write a program which produces its own source code as output?
Identify the operators that is not used with pointer a. && b. # c. * d. >>
hi , please send me NIC written test papers to sbabavalli@gmail.com
What is the correct code to have following output in c using nested for loop?
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
where do we use volatile keyword?
what is the hexidecimal number of 4100?
What is difference between far and near pointers?
Is javascript written in c?
write function to reverse char array ... without using second array
WAP to convert text into its ASCII Code and also write a function to decode the text given?
Find greatest of two numbers using macro