在线编译器 C

#include <stdio.h> int main() { int a return 0; }// 如何把十进制转二进制?分几步走?
1) This code is incomplete and contains a syntax error; it attempts to declare an integer variable but is missing necessary components to function.
2) Hint 1: Every statement in C must end with a semicolon. Check the line where the variable is declared.
Hint 2: For decimal to binary conversion, think about using the division-by-2 method repeatedly and storing the remainders.