fork download
  1.  
  2. #include<stdio.h>
  3. int main()
  4. {
  5. float l,b, a;
  6.  
  7.  
  8. printf("enter the value of length and breath") ;
  9. scanf("%f%f", &l,&b) ;
  10. a=l*b;
  11. print f("area of rectangule is %f", a);
  12. }
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
2
5
compilation info
prog.c:11:1: error: use of undeclared identifier 'print'; did you mean 'printf'?
print f("area of rectangule is %f", a);
^~~~~
printf
/usr/include/stdio.h:364:12: note: 'printf' declared here
extern int printf (const char *__restrict __format, ...);
           ^
prog.c:11:6: error: expected ';' after expression
print f("area of rectangule is %f", a);
     ^
     ;
prog.c:11:7: warning: implicit declaration of function 'f' is invalid in C99 [-Wimplicit-function-declaration]
print f("area of rectangule is %f", a);
      ^
prog.c:11:1: warning: expression result unused [-Wunused-value]
print f("area of rectangule is %f", a);
^~~~~
2 warnings and 2 errors generated.
stdout
Standard output is empty