C Programming Question and Answers

37. What is token in C?
 
  • C tokens are the basic buildings blocks in C language which are constructed together to write a C program.
  • Each and every smallest individual unit in a C program is known as C tokens.
 
Your Name Your Email-ID
Your Answer
38. What are the types of C tokens?
  C tokens are of six types. They are
  • Keyword
  • Identifiers
  • Constants
  • Strings
  • Special symbols
  • Operators
 
Your Name Your Email-ID
Your Answer
39. What are the different types of variables in C?
  There are three types of variables in C
  • Local variable
  • Global variable
  • Environment variable
 
Your Name Your Email-ID
Your Answer
40. What is environment variable in C?
 
  • Environment variable is a variable that will be available for all C applications and C programs.
  • Once environment variables are exported, we can access them from anywhere in a C program without declaring and initializing in an application or C program.
 
Your Name Your Email-ID
Your Answer