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

11. How is fopen()used ?
Ans: The function fopen() returns a file pointer. Hence a file pointer is declared and it is assigned
as

FILE *fp;

fp= fopen(filename,mode);

filename is a string representing the name of the file and the mode represents:

“r” for read operation

“w” for write operation

“a” for append operation

“r+”,”w+”,”a+” for update operation

                    Advertisement
12. Differentiate between a constant pointer and pointer to a constant?
Ans:

const char *p; //pointer to a const character.

char const *p; //pointer to a const character.

char * const p; //const pointer to a char variable.

const char * const p; // const pointer to a const character.
                    Advertisement
13. Are the expressions *ptr ++ and ++ *ptr same?
Ans: No,*ptr ++ increments pointer and not the value pointed by it. Whereas ++ *ptr

increments the value being pointed to by ptr.

14. What’s the difference between these two declarations?
Ans: struct x1 { … };

typedef struct { … } x2;

The first form declares a structure tag; the second declares a typedef. The main difference is that the second declaration is of a slightly more abstract type.its users don’t necessarily know that it is a structure, and the keyword struct is not used when declaring instances of it.

15. What do the functions atoi(), itoa() and gcvt() do?
Ans:

atoi() is a macro that converts integer to character.

itoa() It converts an integer to string

gcvt() It converts a floating point number to string

16. Can a Structure contain a Pointer to itself?

Ans: Yes such structures are called self-referential structures.

17.Write a program which uses Command Line Arguments?
Ans:

#include

void main(int argc,char *argv[])

{

int i;

clrscr();

for(i=0;i

printf(“\n%d”,argv[i]);

}

18. Difference between syntax vs logical error?
Ans:

Syntax Error 

1-These involves validation of syntax of language.

2-compiler prints diagnostic message.

Logical Error

1-logical error are caused by an incorrect algorithm or by a statement mistyped in such a way

that it doesn’t violet syntax of language.

2-difficult to find.

19. What is a preprocessor, what are the advantages of preprocessor?
Ans: A preprocessor processes the source code program before it passes through the compiler.

1- a preprocessor involves the readability of program

2- It facilitates easier modification

3- It helps in writing portable programs

4- It enables easier debugging

5- It enables testing a part of program

6- It helps in developing generalized program

20. what are the types of file?( IMP)
Ans: Files are of two types

1-high level files (stream oriented files) :These files are accessed using library functions

2-low level files(system oriented files) :These files are accessed using system calls

90. Can we use any name in place of argv and argc as command line arguments ?

Ans: yes we can use any user defined name in place of argc and argv;
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.