CS201 QUIZ NO 1 SOLVED 100% VERIFIED BY ADMIN (MID TERM SYLLABUS)
Q1: What will be the size of the array declared as
int array[1000];
Q2: Suppose that an integer type contains a memory address 0x22f220. What will be the new memory address if we increment this pointer by one?
Q3: We use __________ to open a file or stream for extraction.
Q4: Whenever some number is added in an array name, it will jump as many __________ as the added number.
Q5: From following; which one is the correct syntax of an array initialize: Array size is 10 and it is of double data type to value 0?
Q6: An object of __________ class can be created of saving the current position of any opened file before reading from the file.
Q7: What will be the size of the following character array?
char name[]="Adeel";
Q8: We can say that a pointer is a variable that hold the __________ address.
Q9: By default, the starting index of an array in C++ is __________.
Q10: Given a two dimensional array of integer, what would be the correct way of assigning the value 6 to the element at third row and fourth column?