Point out the error in the following program

#include <stdio.h>
#include <conio.h>
 
void main()
{
    int a = 10;
    void f();
    a = f();
    printf("%d", a);
    getch();
}
 
void f()
{
    printf("vncoding");
}

 

Suy nghĩ trả lời câu hỏi trước khi xem đáp án

ATNETWORK
ZUNIA9