Record Detail

Compile Error

/in/ex1.c: In function 'main':
/in/ex1.c:16:22: error: lvalue required as unary '&' operand
     scanf("%lf%lf\n",&creal(a),&cimag(a));
                      ^
/in/ex1.c:16:32: error: lvalue required as unary '&' operand
     scanf("%lf%lf\n",&creal(a),&cimag(a));
                                ^
/in/ex1.c:19:22: error: lvalue required as unary '&' operand
     scanf("%lf%lf\n",&creal(b),&cimag(b));
                      ^
/in/ex1.c:19:32: error: lvalue required as unary '&' operand
     scanf("%lf%lf\n",&creal(b),&cimag(b));
                                ^

Information

Submit By
Type
Submission
Problem
h4ex1: Structure, basic programming
Homework
Assignment 4
Language
C
Submit At
2018-06-21 13:05:54
Judged At
2018-06-21 13:05:54
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes