C
Programming and Technical
Programming
Technical
#include
void main()
{
int a,c,f:
printf("acf",%d):
}
Read Solution (Total 9)
-
- error: expected expression before '%' token
printf("acf",%d); - 9 years agoHelpfull: Yes(2) No(0)
- error hereany statement end with semicolon
- 9 years agoHelpfull: Yes(0) No(0)
- escape semicolon(;)
- 9 years agoHelpfull: Yes(0) No(0)
- it gives error because every statement always end with a semicolon
- 9 years agoHelpfull: Yes(0) No(0)
- Printf("%d%d%d",act); and any statement should ends with semicolon
- 9 years agoHelpfull: Yes(0) No(0)
- escape semicolon
- 9 years agoHelpfull: Yes(0) No(0)
- Error.. Bcz there should be ";" at the place of ":"..
- 9 years agoHelpfull: Yes(0) No(0)
- the 5th line must be :
printf("%d%d%d",a,c,f);
which produces garbage values as a,c,f are not initialized. - 9 years agoHelpfull: Yes(0) No(0)
- line 5
printf("acd",%d%d%d);
- 9 years agoHelpfull: Yes(0) No(0)
C Other Question