C Programming Question and Answers

5. What is printf()?
 
  • printf() is an inbuilt function in C which is available in C library by default. This function is declared and related macros are defined in "stdio.h" header file.
  • printf() functions is used to print the "character, string, float, integer, octal and hexadecimal values" onto the output screen.
 
Your Name Your Email-ID
Your Answer
6. What is a structure?
  Structure is a group name in which dissimilar datas are grouped together.
 
Your Name Your Email-ID
Your Answer
7. What are structures in C?
  Structures types are primarily used to store records. A record is made up of related fields. This makes it easier to organize a group of related data.
 
Your Name Your Email-ID
Your Answer
8. What is void pointer in C?
 
  • Void pointer is a generic pointer that can be used to point another variable of any data type.
  • Void pointer can store the address of a variable belonging to any of the data type.
  • So, void pointer us also called as general purpose pointer.
 
Your Name Your Email-ID
Your Answer
123456789101112


131415 Page 2 of 15