What are the ways to a null pointer can use in C programming language?
Answers
Answered by
2
ıllıllı ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ ıllıllı
Null pointers are possible to use in three ways.
⭐️ As an error value.
⭐️ As a sentinel value.
⭐️ To terminate indirection in the recursive data structure.
ᴇʜsᴀss ✿◕ ‿ ◕✿
CARELESSGIRL:
Thanks you
Answered by
1
Answer:
Explanation:
The NULL constant is defined in many of the header files in the C programming language; including, stdio.h stddef.h , stdlib.h , etc. In C programming, usually, we add stdio.h in the program to use scanf() and printf() functions. So, you don't need to add any extra header files.
Similar questions
Chemistry,
7 months ago
Business Studies,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
English,
1 year ago