Home / MCQ Bank / Computer
Computer Introduction To C Plus Plus

What happens if the following program is executed in C and C++? #include <stdio.h> void func(void) { printf("Hello"); } void main() { func(); func(2); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • Error in both C and C++

Related Computer Questions

Identify the correct Bellmann Ford Algorithm. Which of the following extracts first four element from the following R vector? > x <- c("a", "b", "c", "c", "d", "a") What will be the output of the following C code? #include <stdio.h> int *m(); void main() { int k = m(); printf("%d", k); } int *m() { int a[2] = {5, 8}; return a; } ____________computer is small general purpose micro computer, but larger than portable computer? In enterprise data modeling, which is incorrect?