MP Online Search...

MPONLINE JOBS नौकरी चाहिए लॉगिन करें EMPLOYMENT NEWS
  • Home
  • Admit Card
  • Results
  • Privacy Policy
  • about us
  • contact us
  • Home
  • Admit Card
  • Results
  • Privacy Policy
  • about us
  • contact us

1. What is a pointer?
Ans: Pointers are variables which stores the address of another variable. That variable may be a scalar (including another pointer), or an aggregate (array or structure). The pointed-to object may be part of a larger object, such as a field of a structure or an element in an array.

2. What are the uses of a pointer?
Ans: Pointer is used in the following cases
i) It is used to access array elements
ii) It is used for dynamic memory allocation.
iii) It is used in Call by reference
iv) It is used in data structures like trees, graph, linked list etc.

                          Advertisement
3. Can we specify variable field width in a scanf() format string? If possible how?
Ans: All field widths are variable with scanf(). You can specify a maximum field width for a given
field by placing an integer value between the ‘%’ and the field type specifier. (e.g. %64s). Such a specifier will still accept a narrower field width.
The one exception is %#c (where # is an integer). This reads EXACTLY # characters, and it is the
only way to specify a fixed field width with scanf().

4. What is near pointer?
Ans: A near pointer is 16 bits long. It uses the current content of the CS (code segment) register (if
the pointer is pointing to code) or current contents of DS (data segment) register (if the pointer is pointing to data) for the segment part, the offset part is stored in a 16 bit near pointer. Using near pointer limits the data/code to 64kb segment.

                          Advertisement
5. What is pointer to a pointer?
Ans: If a pointer variable points another pointer value. Such a situation is known as a pointer to a pointer.
Example:
int *p1,**p2,v=10;
P1=&v; p2=&p1;
Here p2 is a pointer to a pointer.

6. How are Structure passing and returning implemented by the complier?
Ans: When structures are passed as argument to functions, the entire structure is typically pushed on
the stack. To avoid this overhead many programmer often prefer to pass pointers to structure instead of actual structures. Structures are often returned from functions in a location pointed to by an extra, compiler-supported ‘hidden’ argument to the function.

7. What do the ‘c’ and ‘v’ in argc and argv stand for?
Ans: The c in argc(argument count) stands for the number of command line argument the program is
invoked with and v in argv(argument vector) is a pointer to an array of character string that contain the arguments.

8. What is the maximum combined length of command line arguments including the space between adjacent arguments?
Ans: It depends on the operating system.

9. How would you use the functions randomize() and random()?
Ans:
Randomize() initiates random number generation with a random value.
Random() generates random number between 0 and n-1;

10. How would you use the functions fseek(), freed(), fwrite() and ftell()?
Ans:
fseek(f,1,i) Move the pointer for file f a distance 1 byte from location i.
fread(s,i1,i2,f) Enter i2 dataitems,each of size i1 bytes,from file f to string s.
fwrite(s,i1,i2,f) send i2 data items,each of size i1 bytes from string s to file f.
ftell(f) Return the current pointer position within file f.
The data type returned for functions fread,fseek and fwrite is int and ftell is long int.
Next Page
​अब आप नयी वेबसाइट पर रोजगार सूचनाएँ पढ़ सकते हैं | हमारी नयी वेबसाइट है   
www.rojgaraurnirman.org

जिन्होंने ने भी हमारे यूट्यूब चैनल को सब्सक्राइब कर लिया है उन्हें नए जॉब की जानकारियां ई-मेल के माध्यम से भेजी जायेगी | इसलिए तुरंत हमारे यूट्यूब चैनल पर जाकर सब्सक्राइब का बटन दबाएँ और हमारे चैनल को सब्सक्राइब कर लें
# Please Subscribe
MPOnline youtube channel
  • »  CATEGORIES
  • MP Jobs - मध्य प्रदेश जॉब्स
  • UPSC यूपीएससी जॉब्स
  • SSC एस एस सी जॉब्स
  • Teaching टीचिंग जॉब्स
  • Bank बैंक/ इंश्योरेंस सेक्टर जॉब्स
  • Railway रेलवे जॉब्स
  • Engineering इंजीनियरिंग जॉब्स
  • ITI Jobs आई. टी. आई. जॉब्स
  • MCA PGDCA DCA Jobs
  • Law Jobs
  • Army-Jobs आर्मी/डिफेन्स
  • State-Police-Jobs स्टेट पुलिस जॉब्स
  • 10 वी /12 वीं जॉब्स
  • Medical/Hospital मेडिकल/हॉस्पिटल
  • IT Jobs आई. टी. जॉब्स
  • एमबीए (MBA) / IIM Jobs
  • चार्टर्ड अकाउंटेंट (CA) / ICWA Jobs
  • PSU नवरत्न कम्पनी जॉब्स
  • Agriculture Jobs कृषि जॉब्स
  • Admit Card
  • Results
  • State Jobs - अपना राज्य चुनें
  • अपना जिला चुनें
  • »  STUDY MATERIAL
  • Personality Development
  • How to Prepare For Civil Service
  • Sample/Test Papers (for all exams)
  • Interview Questions with Answers
  • IT Questions
  • Syllabus with Exam Pattern
  • School/College Projects
  • General Knowledge
  • Resume
  • Resume Writing Tips
  • Career Options After 12th
  • Career Options For Graduates
  • Interview Tips
  • Moral Stories
  • Indian Cuisine
  • »  SAMPLE PAPERS
  • M.P.Board - Xth XIIth Sample Papers
  • CBSE - Xth XIIth Sample Papers & Books
  • MPPSC - SAMPLE PAPERS
  • Civil Service Pre. GS 2011
  • Bihar Psc Pre GS 2011
  • Bihar Gramin Bank Officers Exam
  • Gurgaon Gramin Bank
  • Indian Bank PO
  • Union Bank PO

MP Online Employment News

नए जॉब्स की जानकारियां मध्य प्रदेश व छत्तीसगढ़ की विश्वसनीय जॉब वेबसाइट एम पी ऑनलाइन रोजगार समाचार हिंदी में

MP Online Govt Job Employment News

देश भर के विभिन्न रिक्रूटमेंट बोर्ड, एम.पी.ऑनलाइन व सरकारी-गैर सरकारी विभाग प्रतिदिन नयी जॉब वेकेंसियाँ निकालते हैं जैसे की संघ लोक सेवा आयोग, एसएससी, मध्य प्रदेश पीएससी, रेलवे, बैंक, व्यापम, एनआरएचएम, MPPKVVCL,निजी क्षेत्र, भारतीय सेना, Teachership नौकरी, आंगनबाड़ी नौकरी एम पी ऑनलाइन के रोजगार समाचार हिंदी में पढ़े

mp online Job Alerts म. प्र. रोजगार समाचार

और बहुत कुछ | अब अपनी भाषा हिंदी में पायें सही व प्रामाणिक

mponline job Employment News रोजगार समाचार हिंदी एम.पी ऑनलाइन

की जानकारियां, जो आपको अन्यत्र कहीं नहीं मिलेंगी |
MP Online Job & Employment News Portal रोजगार समाचार हिंदी
आपको सदैव उपलब्ध कराता है देश व प्रदेश के रोजगार समाचार

Google+
Powered by Create your own unique website with customizable templates.