What is an identifier?



What is an identifier?..

Answer / Vandana Singh

An identifier is a name given to variables, functions, and other programming constructs in C. Identifiers are used to uniquely identify each item in the program. They must follow certain naming rules such as starting with an alphabet or underscore, containing only alphabets, digits, and underscores, and not being a reserved keyword.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are the different file extensions involved when programming in C?

1 Answers  


What will be the output of x++ + ++x?

20 Answers   MBT, Religare,


Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


Explain about block scope in c?

1 Answers  


How is null defined in c?

1 Answers  


Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147

2 Answers  


Explain how can a program be made to print the name of a source file where an error occurs?

1 Answers  


What is the difference between null pointer and void pointer

10 Answers   CTS, Manforce, MAQ Software,


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1 Answers  


code for quick sort?

1 Answers  


Explain what is the best way to comment out a section of code that contains comments?

1 Answers  


What is an array? What the different types of arrays in c?

1 Answers  


Categories