Record Detail

Compile Error

/in/ex1.c: In function 'main':
/in/ex1.c:12:20: error: lvalue required as unary '&' operand
     scanf("%f%f\n",&creal(a),&cimag(a));
                    ^
/in/ex1.c:12:30: error: lvalue required as unary '&' operand
     scanf("%f%f\n",&creal(a),&cimag(a));
                              ^
/in/ex1.c:15:20: error: lvalue required as unary '&' operand
     scanf("%f%f\n",&creal(b),&cimag(b));
                    ^
/in/ex1.c:15:30: error: lvalue required as unary '&' operand
     scanf("%f%f\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 12:49:18
Judged At
2018-06-21 12:49:18
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes