Windows Programming MCQ

1:

Choose the incorrect statement wrt to Winmain syntax 

a) The first argument, hInstance, is a handle to the instance of the program you are writing.

b) The second argument, hPrevInstance, is used if your program had any previous instance. This argument can not  be ignored.

c) The third argument, lpCmdLine, is a string that represents all items used on the command line to compile the application.

d) The last argument, nCmdShow, controls how the window you are building will be displayed.

A.

a

B.

b

C.

c

D.

d

 

Answer : B

Explanation :

The second argument, hPrevInstance, is used if your program had any previous instance. If not, this argument can be ignored, which will always be the case.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.