Structures "A4" 1 / 50 Structure में shallow copy का मुख्य खतरा क्या है? Syntax error Memory leak Compilation fail Pointer members same memory को point करते हैं 2 / 50 Structure debugging कठिन क्यों? Memory layout Nested data Pointer All 3 / 50 Structure में union member possible है? Warning Yes Error No 4 / 50 Structure में enum use कर सकते हैं? Warning Error Yes No 5 / 50 Structure tag name का use कब होता है? Variable create Re-declaration Pointer declaration All 6 / 50 Header file में structure रखने का फायदा? Reusability Maintainability Readability All 7 / 50 Structure declaration का सही स्थान? main के अंदर Global Header file All 8 / 50 Structure में pointer member का फायदा? Dynamic memory Flexible data Complex data structure All 9 / 50 Structure vs Union memory usage? Union ज्यादा Depends Structure ज्यादा Same 10 / 50 Structure return करने का cost? Memory copy Error No cost Fast 11 / 50 Structure को return करना possible है? Warning Yes Error No 12 / 50 Structure memory layout कौन decide करता है? Programmer OS CPU Compiler 13 / 50 Structure member order बदलने से क्या होगा? Error Warning Size change No effect 14 / 50 Linked list किस structure concept पर based है? Union Enum Self-referential structure Array 15 / 50 Structure self-referential कब होता है? Pointer to same structure Nested structure Array inside Union inside 16 / 50 Structure pointer को malloc से allocate कर सकते हैं? Yes Warning Error No 17 / 50 Structure variable initialize करने का गलत तरीका? = scanf Declaration time { } 18 / 50 Structure alignment का effect? Size बढ़ सकता है Speed बढ़ती है Memory waste All 19 / 50 Structure reading file से कैसे? fgets fscanf fread getc 20 / 50 Structure को file में store करने के लिए क्या use होता है? putc fwrite fputs fprintf 21 / 50 Bit-field का limitation? Array नहीं All Pointer use नहीं Address नहीं ले सकते 22 / 50 Structure में bit-field का use क्यों? Speed Syntax Error handling Memory optimization 23 / 50 Structure pointer increment करने पर क्या बढ़ेगा? Error Random Size of structure 1 byte 24 / 50 Structure में bit-field का use क्यों? Memory optimization Error handling Syntax Speed 25 / 50 Structure pointer increment करने पर क्या बढ़ेगा? Random Size of structure Error 1 byte 26 / 50 Structure array traversal किससे होता है? Index Pointer None Both 27 / 50 Structure comparison directly possible है? No Warning Yes Compiler dependent 28 / 50 Structure copy assignment possible है? Yes No Error Warning 29 / 50 Structure में different data types क्यों allow हैं? Memory save Speed Compiler Flexibility 30 / 50 Structure और array में similarity? Indexing User defined Continuous memory Same type data 31 / 50 Structure में static member allowed है? Yes Warning Depends compiler No 32 / 50 Structure variable global होने पर scope? File scope Loop Block Function only 33 / 50 Anonymous structure का limitation? Reuse नहीं Slow Error Memory leak 34 / 50 Anonymous structure क्या है? Without name structure Name वाला structure Global structure Nested structure 35 / 50 typedef का use structure के साथ क्यों किया जाता है? New data type name Code readable Short name All 36 / 50 Structure by value pass करने का नुकसान? Slow execution Memory overhead Copy create होती है All 37 / 50 Structure को function में pass करने का best तरीका? Global Static By pointer By value 38 / 50 Structure pointer क्यों use किया जाता है? Memory save Fast access Function argument efficient All 39 / 50 Structure में string store करने का सही तरीका? char name[20]; string name; char *name; char name; 40 / 50 Structure variable initialization कब possible है? Runtime Execution time After main Declaration time 41 / 50 Structure padding का उद्देश्य क्या है? Speed बढ़ाना Memory save Error fix Alignment maintain 42 / 50 Structure का size किस पर निर्भर करता है? Compiler Members का size Padding & alignment All 43 / 50 Structure और union में मुख्य अंतर क्या है? Speed Memory allocation Header file Syntax 44 / 50 Structure में function member क्यों allowed नहीं है? Syntax error Memory issue Compiler support नहीं C procedural language है 45 / 50 Structure array बनाने का सही तरीका कौन-सा है? struct name arr[10]; array struct name; struct arr name[10]; struct a[10]; 46 / 50 Structure pointer से member access करने का operator? . * & -> 47 / 50 Structure के members access करने के लिए कौन-सा operator होता है? -> . & * 48 / 50 Structure का memory allocation कब होता है? Definition पर Variable creation पर Compile time Declaration पर 49 / 50 Structure keyword कौन-सा है? structure typedef define struct 50 / 50 Structure क्या है? Built-in data type Operator User-defined data type Loop Your score isThe average score is 0% 0% Restart quiz