Functioning With Functions - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Knowledge about functions.

Sample Question from this online test:

Question: main()
int i=3, j;
printf("i=%dj=%d\n", i, j);
int ii;
printf("ii=%d\n", ii);

Option A: 4 5 6

Option B: 3 5 6

Option C: No Output

Option D: Error Message

To answer, click the "Start This Test" button below.

Start this Test


Debalipta Swain on 2012-04-06 12:44:08 wrote,

all the question's there is no return type mention in called functions.and we know the variable which is declared within the parameter.all are local variable.but here all the variable which is passed that variables again redeclared .can u say why? plz modify your question otherwise student will confused