Ad
Thursday, February 16, 2023
Advanced C Important Questions
Pointers
-Q. What is a pointer?
-Q. Concept of pointer to pointer with example.
-Q. What is formal parameter and actual parameters.
Q. What is dynamic memory allocation?
Q. Explain two methods of passing arguments to function with example/ Call by value and Call by reference.
-Q. What is meaning of & and * operators in pointer?
Q. Various operations possible on poitner.
Strings
Q. Which function is used to join two strings? Give syntax.
---Q. Give syntax and use of following functions:
i) strlen
ii) strcat
iii)strcmp
iv)strcpy
v)strrev
Structures
----Q. Give the difference between structure and union.
File Handling
Q. Define file. Explain any four file functions.
Q. Which function is used to move file pointer?
Q. Give syntax and use of following functions:
i) getchar
ii) putchar
iii) puts
iv) printf
v) scanf
vi) fopen
vii) fflush()
viii) remove()
ix) rename()
-x) ftell()
xi) putc()
xii) fclose()
xiii) fopen()
(xiv) fgets()
(xv) fputs()
xvi) fcloseall()
xvii) gets()
xviii) rewind()
Preprocessor
--i) Define Macro
ii) Define preprocessor.
--ii) What are command line arguments? Explain.
How are they declared? Give advantages.
iii) Macro preprocessor directives with examples.
About Abhishek Dhamdhere
Qna Library Is a Free Online Library of questions and answers where we want to provide all the solutions to problems that students are facing in their studies. Right now we are serving students from maharashtra state board by providing notes or exercise solutions for various academic subjects
No comments:
Post a Comment