Cs410 quiz 1 solved by umair sid 100% J
- Static variables are made on ___________ memory location
1. Fixed
2. Stack
3. Pointer
4. Variables
___________ is used to check the predefined identifiers.
1.#include
2. #ifdef
3.#def
4. #elif
Correct Choice : 2
From Lectuer # 5
Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?
38
40
39
No
Ptr -> age is equivalent to _______________
Name of Two dimensional array is the address of
First Column
First Row
Last Row
Last Column
Which languages are more close to machine language
Low Level Languages
Machine Level Language
C++
java
GDI is implemented through
GDI.dll
2. win32.dll
3. GDI32.dll
4. Kernel.dll
We can undefine already defined preprocessor directive using
1. #undef
2. #unifdef
3. #unenddef
4. None of given
Union Person { char name[30]; //30 bytes int age; float height; }; Union Person abc, *ptr; Ptr = &abc; ptr = ptr +1; How many bytes will skip after executing ptr = ptr +1
38 bytes will skip after executing ptr = ptr +1.
30 bytes will skip after executing ptr = ptr +1. lec 4
31 bytes will skip after executing ptr = ptr +1.
32 bytes will skip after executing ptr = ptr +1.
There cannot be multiple _________________ messages in message queue.
WM_ PAINT
WM_TIMER
WM_QUIT
WParam
______________ tell the operating system about the characteristics and physical layout of its windows.
tell the operating system about the characteristics and physical layout of its windows.
Select correct option:
Register Class
Object Class
Window Class
Common Class
______________ inserts a WM_QUIT message in the program’s message queue.
PostQuitMessage (0)
WM_TIMER
KillTimer ()
DispatchMessage ()
_________ is unique identifier of the registered window class return by Registeredclass ()
Handle
Cursor
Object
ATOM
______________ is responsible for Stack Rewinding when called-function returns.
Function
Pointer
Called function
Caller function
0 comments
Post a Comment