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 ABSTRACT DATA TYPE
What 'lex' does?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
What are predefined functions in c?
what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?
Why dont c comments nest?
write a program to find out number of on bits in a number?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What is array in c with example?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
consagous technology placement paper
What is a node in c?