Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
Point out the error in the program
#include<stdio.h>
int main()
{
int a=10;
void f();
a = f();
printf("%d ", a);
return 0;
}
void f()
{
printf("Hi");
}
1.
Error: Not allowed assignment
2.
Error: Does not print anything
3.
No error
4.
None of above