What are the rules for the identifier?



What are the rules for the identifier?..

Answer / Nirbhaya Singh

"The rules for an identifier in C programming include: 1. It must start with a letter or underscore, and can contain letters, digits, underscores, and the at sign (@). 2. It cannot be a keyword. 3. It is case sensitive"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What should be keep precautions while using the recursion method?

1 Answers  


what are the interview question's in the language c

2 Answers   Nipuna,


What is pointers in c?

1 Answers  


Does sprintf put null character?

1 Answers  


Write a program to implement queue.

1 Answers   Aricent,


What is meant by global static? why we have to use static variable instead of Global variable

4 Answers   L&T,


how could explain about job profile

1 Answers  


why division operator not work in case of float constant?

2 Answers  


What was noalias and what ever happened to it?

1 Answers  


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1 Answers  


Why c is a mother language?

1 Answers  


What is indirection? How many levels of pointers can you have?

1 Answers   Aspire, Infogain,


Categories