Arrays"A4" 1 / 50 Jagged array C में supported है? Yes Depends Partial No 2 / 50 2D array parameter passing में column mandatory क्यों? Address calculation Speed OS Syntax 3 / 50 Pointer reassign किया जा सकता है? Yes No Warning Error 4 / 50 Array name reassign किया जा सकता है? Warning Yes No Depends 5 / 50 Array vs Pointer relation? Same Completely different Unrelated Closely related 6 / 50 Array return करने का सही तरीका? Pointer goto Variable Direct 7 / 50 Array को return करना possible है? Warning No Only static Yes 8 / 50 VLA का risk? Fast Compile error No risk Stack overflow 9 / 50 VLA stack में allocate होता है? No Heap Static Yes 10 / 50 Variable Length Array (VLA) किस standard में आया? C89 C90 C11 C99 11 / 50 Array size negative हो सकता है? No Yes Warning Runtime error 12 / 50 Local array default value? 0 NULL 1 Garbage 13 / 50 Static array default value क्या होती है? 0 NULL 1 Garbage 14 / 50 Array का scope किस पर निर्भर करता है? Declaration location Compiler OS Size 15 / 50 int a[3][ ]; valid है? Warning Depends No Yes 16 / 50 Multidimensional array में columns specify करना क्यों जरूरी है? Syntax Speed OS Memory calculation 17 / 50 Array reverse करने का best तरीका? Recursion only Two pointers Sorting Extra array 18 / 50 Array pointer arithmetic किस पर आधारित है? Compiler Byte Index Data type size 19 / 50 (a+i) किसे access करता है? Address Value Index Size 20 / 50 a[i] internally क्या होता है? (i+a) D) ai A और B दोनों *(a+i) 21 / 50 Array का base address क्या है? First element Random Middle element Last element 22 / 50 Array traversal के लिए best structure? if switch loop goto 23 / 50 Binary search का time complexity? O(1) O(log n) O(n²) O(n) 24 / 50 Binary search कब possible है? Any array Pointer Sorted array Unsorted array 25 / 50 Array searching के लिए linear search का time complexity? O(1) O(log n) O(n²) O(n) 26 / 50 Array sorting के लिए कौन-सा algorithm common है? BFS DFS Recursion Bubble sort 27 / 50 char str[] = "Hello"; size कितना? Error 7 6 5 28 / 50 char str[5] = "Hello"; valid है? Warning Yes Depends No 29 / 50 String end किस character से होता है? NULL EOF n 30 / 50 Character array क्या store करता है? Numbers Symbols Boolean String 31 / 50 Array initialization declaration के बाद possible है? No Error Warning Yes 32 / 50 sizeof array function के अंदर क्यों गलत size देता है? Array pointer बन जाता है Runtime issue Compiler bug Error 33 / 50 sizeof(array) क्या return करता है? Address Index Bytes occupied Elements count 34 / 50 Array को function में pass करने पर क्या pass होता है? Whole array Address Value Copy 35 / 50 a[2][3] का मतलब? 2 rows, 3 columns 3 rows, 2 columns 6 elements A और C दोनों 36 / 50 2D array memory में कैसे store होता है? Row major Column major Random Linked 37 / 50 2D array declaration सही कौन-सा है? int a[3,3]; int a(3)(3); int [3][3]a; int a[3][3]; 38 / 50 2D array का उपयोग किसके लिए? List Stack Queue Matrix 39 / 50 1D array का उपयोग किसके लिए? Linear data Tree Matrix Table 40 / 50 Array overflow का effect? Warning Safe execution Undefined behavior Compile error 41 / 50 Array bounds checking C में? Automatic Compiler करता है OS करता है Manual 42 / 50 Array index negative हो सकता है? Yes No Warning Undefined behavior 43 / 50 int a[]={1,2,3}; size कितना होगा? 4 Error 3 2 44 / 50 Array declaration का सही syntax? array int a[10]; int a[10]; int a(10); int a = [10]; 45 / 50 Array का size runtime पर change किया जा सकता है? Warning No Depends Yes 46 / 50 Array का नाम क्या दर्शाता है? Value First element का address Size Last element का address 47 / 50 Array memory में कैसे store होता है? Random Linked Stack only Contiguous 48 / 50 int a[10]; में valid index कौन-सा है? 0–9 1–9 0–10 1–10 49 / 50 C में array का index किससे शुरू होता है? 1 -1 Compiler पर निर्भर 0 50 / 50 Array क्या है? Same data type का collection Pointer का group Function का group अलग-अलग data type का collection Your score isThe average score is 0% 0% Restart quiz