ISRO exam 2017 – Question 64 with Solution
In this video we are going to discuss another question which was asked in the exam of ISRO
64. What is the output of the following program?
#include {stdio.h}
int tmp=20; main( )
{
printf(“%d “,tmp); func( ); printf(“%d “,tmp);
}
func( )
{
static int tmp=10; printf(“%d “,tmp);
}
(a) 20 10 10
(b) 20 10 20
(c) 20 20 20
(d) 10 10 10