Pointers"A4" 1 / 50 Double free pointer issue? Safe Warning Compile error Undefined behavior 2 / 50 Pointer free करने के बाद best practice? Reuse Increment Set NULL Ignore 3 / 50 Wild pointer fix कैसे? Initialize to NULL Cast Increment Free memory 4 / 50 Pointer dereference करने से पहले क्या जरूरी? Initialize NULL check Valid memory All 5 / 50 Pointer alignment issue कब? Wrong typecast Wrong address Architecture dependent All 6 / 50 Pointer casting का risk? Compile error Warning Undefined behavior Safe 7 / 50 NULL और 0 pointer comparison? Different Error Warning Same 8 / 50 Pointer arithmetic with void pointer? Safe Not allowed (standard C) Compile error always Allowed 9 / 50 Array traversal best using? Index Recursion Goto Pointer 10 / 50 Pointer increment fastest क्यों? Direct memory Cache Compiler Index skip 11 / 50 const int *const p? Pointer constant Both constant Data constant None 12 / 50 int *const p क्या है? Pointer to constant Constant pointer Both Error 13 / 50 const int *p क्या है? Constant pointer Both constant None Pointer to constant int 14 / 50 Constant pointer का मतलब? Data constant Both None Pointer value constant 15 / 50 Pointer to constant का मतलब? Pointer cannot change value Pointer cannot change address Constant pointer Both B & C 16 / 50 Pointer initialization best practice? Garbage NULL Random No need 17 / 50 Segmentation fault का common कारण? Syntax error Invalid pointer access Logic error Loop 18 / 50 Pointer misuse से क्या होगा? Compile error Runtime crash Warning No effect 19 / 50 Pointer से call by reference कैसे? Value pass Address pass Return pointer Global 20 / 50 Pointer parameter function में default? Macro Inline Call by reference Call by value 21 / 50 Pointer to structure pass करने का फायदा? Speed Memory save Original modify All 22 / 50 (*p).x और p->x? Different Same Error Warning 23 / 50 Pointer to structure access operator? . :: -> * 24 / 50 Pointer और function name में relation? No relation Same Function name acts as pointer Error 25 / 50 Function pointer declaration सही है? int *f(); int (*f)(); int f(); int f(); 26 / 50 Function pointer का उपयोग? Callback Menu driven program Dynamic calling All 27 / 50 Pointer to function store करता है? Return value Function address Parameters Code size 28 / 50 Array of pointers declaration? int (*p)[5]; int p[5]; int p[5]; int p(5); 29 / 50 Pointer to array declaration? int *p[5]; int (p)[5]; int p[5]; int p(5); 30 / 50 Double pointer का उपयोग? Dynamic memory Function arguments 2D array All 31 / 50 Double pointer क्या होता है? Pointer to data Pointer to pointer Pointer to array Pointer to function 32 / 50 64-bit system में pointer size? 2 bytes 4 bytes 8 bytes 16 bytes 33 / 50 sizeof(pointer) क्या return करता है? Data size Address size Array size Value size 34 / 50 Pointer और array में मुख्य अंतर? Syntax Pointer reassign हो सकता है Both same Array dynamic 35 / 50 arr और &arr[0]? Different Same address Error Depends 36 / 50 Array का नाम क्या होता है? Variable Constant pointer Function Macro 37 / 50 Pointer comparison valid कब है? Same type Same array Both A & B Always 38 / 50 Pointer subtraction valid कब है? Different arrays Same array Any pointer Void pointer 39 / 50 Pointer arithmetic किस पर depend करती है? OS Compiler Data type size Address 40 / 50 Void pointer क्या store कर सकता है? int only char only किसी भी type का address NULL only 41 / 50 Void pointer को dereference करने से पहले? NULL check Increment Typecast करना Free करना 42 / 50 ptr+1 का मतलब? +1 byte +size of data type +2 bytes Random 43 / 50 Dangling pointer कब बनता है? Pointer NULL हो Memory free होने के बाद use Pointer increment Wrong type 44 / 50 Uninitialized pointer को क्या कहते हैं? Null pointer Dangling pointer Wild pointer Void pointer 45 / 50 Pointer को NULL से initialize क्यों करते हैं? Speed Safety Syntax Memory save 46 / 50 NULL pointer का अर्थ क्या है? 0 value Garbage address Invalid address Compile error 47 / 50 * operator pointer के साथ क्या करता है? Address देता है Value access करता है Memory allocate करता है Increment करता है 48 / 50 & operator का उपयोग किस लिए होता है? Dereference Address निकालने के लिए Multiplication Logical AND 49 / 50 Pointer variable declare करने का सही तरीका? pointer p; *int p; int *p; int p*; 50 / 50 Pointer क्या store करता है? Value Address Data type Size Your score isThe average score is 0% 0% Restart quiz