#include #include void main() { int a = 10; void f(); a = f(); printf(“%d”, a); getch(); } void f() { printf(“vncoding”); } Point out the error in the following program

#include

#include

void main()

{

int a = 10;

void f();

a = f();

printf(“%d”, a);

getch();

}

void f()

{

printf(“vncoding”);

}

Point out the error in the following program

A. Error: cannot convert ‘void’ to ‘int’

B.  Error:

Hướng dẫn

Chọn A là đáp án đúng

 

Thư viện tài liệu12 Tháng bảy, 2023 @ 3:01 chiều

Đánh giá chủ đề này
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site